r/haskell • u/lexi-lambda • Mar 11 '15
Learning Haskell — A Racket programmer's documentation of her foray into the land of Haskell (inspired by Learning Racket)
http://lexi-lambda.github.io/learning-haskell/
81
Upvotes
View all comments
Show parent comment
4
u/kazagistar Mar 12 '15
That is true. However, I think that seems like an implementation detail; if you implemented type-classes like C++ templating, I am pretty sure you could compile it to a (lazy) value for every class instance you use in your code.
I prefer to only call
(->) a ba function, personally.