Hacker News new | past | comments | ask | show | jobs | submit login

Without premature optimization, there isn't much of anything interesting going on. This program reads a key, copies the string up to the pointer, appends the character that was typed, and then prints that string to the screen.

Yeah, it's Haskell, but who cares? Of course it's easy to write simple programs in Haskell.

When you start using more exotic data structures, like ropes (or difference lists), that's where Haskell really shines, and would actually be interesting.

For me, the most interesting thing about this article is that it's on the Object Mentor website.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: