Re:The Word Count Problem
by eru on Saturday July 28, 2012 @02:59PM
(#4306166)
Have you tried functional programming, yet? John Hughes argues in "Why functional programming matters" (http://www.cse.chalmers.se/~rjmh/Papers/whyfp.html) that enabling exactly this separation and subsequent gluing together is exactly what makes FP worth looking at.
[ Parent
| on HN ]
Re:The Word Count Problem
by loup-vaillant on Saturday July 28, 2012 @04:19PM
(#4306394)
Yep. The very example I was talking about was written in Ocaml. It was in an earlier version of my web site compiler: http://loup-vaillant.fr/projects/ussm/
I liked Hughes paper. Funnily enough, the lack of laziness in Ocaml quite hindered me when I wrote and used my Parsec clone (again in USSM, but in the current version).