Re:OCamlers' critiques of Haskell
by axman6 on Thursday August 27, 2015 @12:00PM
(#10130197)
I've used a similar construct in dealing with some JSON data recently, using Either String a:
which has really helped deal with the stringly typed nature of JSON. I should also mention I stole the idea (and operator name) from one of the Haskell parser combinator libraries which allowed you to name a whole parser expression, so errors would say "could not find ident" instead of "Expected on of a,b,c,d,e,d,f,g,h...., found X"
[ Parent
| on HN ]
There are no comments on this comment yet.