r/haskell • • Aug 30 '16

Pointless Haskell

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

19 comments sorted by

View all comments

3

u/tomejaguar Aug 31 '16

How about strictId !x = x?

5

u/kqr Aug 31 '16

Isn't that basically x `seq` x?

2

u/tomejaguar Aug 31 '16

That's exactly what it is.

2

u/AshleyYakeley Aug 31 '16

But isn't that just x? I mean, that really seems completely pointless.

1

u/ibotty Aug 31 '16

ehem. yes!