stevegilham / fsharp-typeclasses Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/fsharp-typeclasses
License: Apache License 2.0
Automatically exported from code.google.com/p/fsharp-typeclasses
License: Apache License 2.0
Implemented in
http://code.google.com/r/mauricioscheffer-fsharp-typeclasses/source/detail?r=d10
13cf83bdaa90eb391e274ab00ec6049d3fe8a
I wonder if this could be generalized for any monoid.
Also investigating if general functor/applicative composition could be encoded,
as in
http://hackage.haskell.org/packages/archive/transformers/latest/doc/html/src/Dat
a-Functor-Compose.html#Compose
Original issue reported on code.google.com by [email protected]
on 28 Jul 2012 at 10:58
What steps will reproduce the problem?
pure' (+) <*> pure' 5 <*> ZipList [1;2;3] ;;
What is the expected output?
ZipList [6;7;8] ;;
What do you see instead?
error FS0332: Could not resolve the ambiguity inherent in the use of the
operator '( ?<- )' at or near this program point. Consider using type
annotations to resolve the ambiguity.
But
pure' (+) <*> pure' 5 <*> [1;2;3] ;;
Works fine:
val it : List<int> = [6; 7; 8]
Original issue reported on code.google.com by [email protected]
on 30 Jul 2012 at 10:48
Added Set and Map monoid instances in
http://code.google.com/r/mauricioscheffer-fsharp-typeclasses/source/detail?r=22a
e902606e579e68bc10b0a02b1d6384dedbb7f (don't know how to do a pull request
here).
Anyway, just my way of saying hi :)
Original issue reported on code.google.com by [email protected]
on 8 Nov 2012 at 12:20
Hi,
Nice to see this project, I started long time ago, now here in github, thanks for migrating it.
I think it worths noting that this experimental project inspired a lot of what is now FSharpPlus (F#+) and it still contains contains sample code from this project and a Haskell compatibility module.
Maybe you can add a link in the readme?
Thanks
Gustavo
fsharp-typeclasses is great library and I love it.
But it isn't registered in NuGet gallery.
So we try to use this library, the build will be required.
Please register to NuGet gallery.
Original issue reported on code.google.com by [email protected]
on 6 Aug 2012 at 1:52
What steps will reproduce the problem?
Code does not compile under
\3.0\Runtime\v4.0\FSharp.Core.dll
In foldable.fs
FoldMap.Base should be changed to FoldMap.FoldMap.Base
Foldr.Base should be changed to Foldr.Foldr.Base
Original issue reported on code.google.com by [email protected]
on 2 Jul 2012 at 5:06
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.