Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Every new GHC release is like a little Christmas morning! The pace of new feature development impresses me.

I'm particularly interested in the new type-level literals (which seem like they will make it much less cumbersome to express certain static constraints) and the convenient new syntax for multi-way if expressions (I've long wanted Lisp's `cond` in Haskell) and case analysis on lambda arguments.




Did I suggest that it was a function? If so, I didn't intend to.


'If' is not quite analogous to cond, and 'if' is a bit of a hack, and multiway is more hack on top, is all I wanted to highlight.

And the cond you wanted has already been here for you.




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

Search: