What monad is the opposite of the error monad in haskell
In the error monad, the first failure halts any execution further just carrying the fault through any following binds.
Why (or why not) are existential types considered bad practice in functional programming?
What are some techniques I might use to consistently refactor code removing the reliance on existential types? Typically these are used to disqualify undesired constructions of your type as well as to allow consumption with a minimal of knowledge about the given type (or so is my understanding).
How to improve efficiency with functional programming?
I’ve recently been going through the Learn You a Haskell for Great Good guide and as practice I wanted to solve Project Euler Problem 5 with it, which specifies:
Better to use error monad with validation in your monadic functions, or implement your own monad with validation directly in your bind?
I’m wondering what’s better design wise for usability/maintainability, and what’s better as far as fitting with the community.
What’s the difference in content between Chris Okasaki’s 1996 thesis and 1999 book, Purely Functional Data Structures? [closed]
Closed 9 years ago.
What’s a good math textbook to have on my desk while studying Haskell? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Who first coined the term Higher Order Function and/or First Class Citizen?
I’ve come to understand that long before Haskell, O’Caml or LISP, higher order functions were an academic research subject and in mathematics, Schönfinkel (in 1967) and Haskell Curry (in 1968) already applied techniques such as currying, but that was before it was available in any programming language.
Functional reactive programming — is Fay expressive enough?
So I’m doing a fairly involved javascript/html client with lots of ajax calls and other involvements of callback-ism. I’m entertaining the thought of using Fay for this purpose. I’m aware of Elm. Tried it and liked the FRP elements. Now I’m looking to know if similar structure is possible in Fay.
Good serialization solution for communication between Python AND Haskell programs? [closed]
It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. I found this: http://msgpack.org/ But.. I’ve never used […]
Erlang/Haskell web service to server files [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]