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

The Haskell equivalent of cons would probably be the 2-tuple constructor, (,), which has the type a -> b -> (a,b). You probably wouldn't use it to make data structures like you would in Lisp though.


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

Search: