[Haskell-beginners] Maybe?

Alexander Chen alexander at chenjia.nl
Wed May 13 14:15:22 UTC 2020


I expected 

prelude> safeHead [23,1,4,2,4,2]
23

not
Just 23

May 13, 2020 4:11:47 PM CEST Imants Cekusins <imantc at gmail.com> wrote:
prelude> safeHead [23,1,4,2,4,2]
Just 23

Looks good.

What did you expect to see?
_______________________________________________
Beginners mailing list
Beginners at haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20200513/aba51f52/attachment.html>


More information about the Beginners mailing list