perfect shuffle - 1 views
Type Families in Haskell - 1 views
The Monad.Reader - HaskellWiki - 0 views
DData - 3 views
Understanding Monads Via Python List Comprehensions « All Unkept - 0 views
-
But here we have taken it to a higher level -- the Monad interface is like an abstraction of any kind of container.
-
This in turn leads to the concept that a monadic value represents a computation -- a method for computing a value, bound together with its input value.
-
Writing monads is hard, but it pays off as using them in Haskell is surprisingly easy, and allows you to do some very powerful things.
- ...3 more annotations...
Monad laws - HaskellWiki - 0 views
Arrays - HaskellWiki - 0 views
Stack overflow foldl - HaskellWiki - 0 views
Learn You a Haskell for Great Good! - Types and Typeclasses - 0 views
-
That's why we can use explicit type annotations. Type annotations are a way of explicitly saying what the type of an expression should be. We do that by adding :: at the end of the expression and then specifying a type.
jaspervdj - Maybe, null, and boilerplate code - 0 views
-
A first goal they serve is as "unassigned variables". I will not cover that here, instead I will focus on another use: abnormal return values.
-
So, null is some sort of "Not found" error here. But wait - they could have used an Exception here!
-
We see a similar behavior here: when the object is found, we get a Just a, and when it is not found, we get Nothing - comparable to a null pointer.
- ...5 more annotations...
Pointfree - HaskellWiki - 0 views
Hoogle - 0 views
« First
‹ Previous
81 - 100 of 157
Next ›
Last »
Showing 20▼ items per page