Dear fellow haskellers,

the strict-base-types package makes it easy to get rid of the unnecessary
laziness (and the resulting space leaks) in your applications; i.e., no more

data AppState = AppState
    { _field :: !(Maybe T.Text)
    , ...
    }

as the alternative

import qualified Data.Maybe.Strict as S
data AppState = AppState
    { _field :: !(S.Maybe T.Text)
    , ...
    }

is now equally cheap.

See http://hackage.haskell.org/package/strict-base-types-0.1 for a full
explanation of the functionality provided by this package.

happy hacking,
Simon
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to