Oops, I broke my own rule on not having runtime errors.
The first empty list can't be a hole, or the bangpattern will trigger a deferred type error. +1 char But I forgot the use the unicode → in the view pattern. -1 char
→
h∷_=id @(_∷_)mdo if|let?_=(#'h,#)→[0x0.0^0e0| !x#←[]|(i→n+0b_0)←_,then\case]
So still 76 chars, 24 language extensions, 2 ghc flags
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Oops, I broke my own rule on not having runtime errors.
The first empty list can't be a hole, or the bangpattern will trigger a deferred type error. +1 char
But I forgot the use the unicode
→
in the view pattern. -1 charSo still 76 chars, 24 language extensions, 2 ghc flags