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.
Stack overflow foldl - HaskellWiki - 0 views
jaspervdj - Maybe, null, and boilerplate code - 0 views
-
-
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...
The best programming languages - 0 views
-
Haskell is not a programmable programming language (unless you look at extensions like template Haskell) but there are enough abstractions in Haskell to easily build domain specific languages with it.
-
But, the idea of time, the idea of sequencing can be built upon a purely functional system and we are led to monads
-
Monad are the recognition that the idea of sequencing operations can be formalized in a purely functional language.
- ...2 more annotations...
From Javascript To Haskell - 0 views
1 - 7 of 7
Showing 20▼ items per page