| Hey, that's pretty cool! After playing with Haskell for the last two years, I figured that it would be pretty damn hard to write conventional LAMP/JS webpages in Haskell, but I still wanted to try to solve some of my real world problems with it. So I'm parsing the log files that my LAMP stuff produces. So far it's a very fun and frustrating waste of time, but given my recent progress, it will probably become a slightly less fun and frustrating time saver. I just recently cleared up some confusion and type errors coming from ByteString/Lazy ByteString/Text/Whatever conversion issues (which made up 95% of the recent frustration, as every other language I'm using right now has one single sort of string (which more than often serves to contain ints ;)) ... and database CRUD and JSON typeclass instances have appeared as if by magic. Awesome! And now I can celebrate by unleashing that stuff tens of megs of logs, opening top, and then seeing the executable instantly eat up all my RAM, before slowly conceding space to the postgres server. Hopefully your post will help me implement streaming. Cheers! |
Really?
You should check out:
http://adit.io/posts/2013-04-15-making-a-website-with-haskel...