ezyang’s blog

the arc of software bends towards understanding

Haskell: Not pure enough?

It is well known that unsafePerformIO is an evil tool by which impure effects can make their way into otherwise pristine Haskell code. But is the rest of Haskell really that pure? Here are a few questions to ask: What is the value of maxBound :: Int? What is the value of \x y -> […]

  • May 2, 2011