Skip to content

Instantly share code, notes, and snippets.

@jennschiffer
Last active August 29, 2015 13:56
Show Gist options
  • Save jennschiffer/9262061 to your computer and use it in GitHub Desktop.
Save jennschiffer/9262061 to your computer and use it in GitHub Desktop.
Things about GHC that really grinds my gears: a Kindle Single

Things about GHC that really grinds my gears

Ranges

[-5..0] -> -5,-4,-3,-2,-1,0

but

[-10..-5] -> "not in scope ..-"

to get it to work

[-10.. -5] or [-10 .. -5]

sup with dat

@jhrr
Copy link

jhrr commented Jul 18, 2014

[-10..(-5)] should work

@yawaramin
Copy link

Can you perhaps use spaces consistently? Then no chance of ambiguity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment