To be honest, it was a bit of a fluke... The kind of situation where I had to figure out how what I wrote worked !
I didn't immediately understand why this didn't need sort anywhere. I figured it out in the end, but it took me quite a while.
sort
Use spoiler flag next time please. Your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
New to Haskell, how does this work?
Holy moly !
Loading collection data...
To be honest, it was a bit of a fluke... The kind of situation where I had to figure out how what I wrote worked !
I didn't immediately understand why this didn't need
sort
anywhere.I figured it out in the end, but it took me quite a while.
Use spoiler flag next time please. Your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
New to Haskell, how does this work?
Holy moly !