[Haskell-beginners] Functor instance

Sylvain Henry sylvain at haskus.fr
Mon Mar 5 21:21:45 UTC 2018


> 3) And while wondering about that, is GHC smart enough to realize that
> "= Failure error" in the failure scenario is actually a NOP? (I'm just
> curious.)

Yes it does. The STG CSE pass handles this.

Sylvain


More information about the Beginners mailing list