Personal tools

Talk:Performance/Data types

From HaskellWiki

Jump to: navigation, search
  • In the newtypes section, could the first paragraph be clearer about the caveat "in most cases"? That is, could it point when using a newtype will not be optimised away? I myself was (am) under the impression that newtype is always optimised away. When can't/won't it be?