[Haskell-beginners] why doesn't this work?

Alexander Chen alexander at chenjia.nl
Wed Jan 8 15:01:20 UTC 2020


hi,

for a List comprehension I want to only include the integers of a division. In my beginners mind this should work:

(round (x / y)) == (x / y)

however, i get a nontrivial error blurp.

what am i doing wrong?

best,

Alexander 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20200108/90275f59/attachment.html>


More information about the Beginners mailing list