News for hackers. Stuff that matters.
Re:Lisp and Haskell (2015) by jimbokun on Thursday October 08, 2020 @12:54PM (#24721059)
Shouldn't head return "Maybe a", since the head of an empty list would be "None"? (Not sure if I got the Haskell terminology correct.)
Re:Lisp and Haskell (2015) by rowanG077 on Thursday October 08, 2020 @03:14PM (#24722684)
In a better world it would. Currently it the head of an empty list crashes the program. Many people in the Haskell world are really salty about this but they don't want to break the API for it.