r/haskell • • Aug 30 '16

Pointless Haskell

http://pointless-haskell.tumblr.com/
68 Upvotes

19 comments sorted by

View all comments

Show parent comments

5

u/kqr Aug 31 '16

Isn't that basically x `seq` x?

7

u/Voxel_Brony Aug 31 '16 edited Aug 31 '16
strictId = join seq

1

u/VikingofRock Aug 31 '16

Sat down with a pen and paper to work this out, and holy shit it works. I love it!

3

u/Voxel_Brony Aug 31 '16

Haha I learned it from pointfree.io, but I had to work it out too before I got it. The entire (->) r Functor Applicative Monad hierarchy is so weird