Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 4
    "abundantly clear that he has zero interest in discussion, he is on a crusade" Have an upvote for this gem. Commented May 11, 2017 at 3:32
  • Don't you need a Num constraint on your Haskell code? how can you call (*) otherwise? Commented May 11, 2017 at 8:10
  • @jk., it has been ages that I did Haskell, that was just to satisfy the OP's constraint for the answer he is looking for. ;) If someone wants to fix my code, feel free. But sure, I'll switch it to Num. Commented May 11, 2017 at 12:49