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

Oliver Charles ollie at ocharles.org.uk
Wed Jan 8 16:37:47 UTC 2020


On Wed, 8 Jan 2020, at 3:01 PM, Alexander Chen wrote:
> 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.

Could you share what the "nontrivial error blurp" is? It will be easier for people to reply to you if they can see the problem without 
having to reproduce it manually.

Ollie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20200108/57c13db7/attachment.html>


More information about the Beginners mailing list