[Haskell] ANN: strict-base-types-0.1

Simon Meier iridcode at gmail.com
Wed May 8 13:40:49 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell/attachments/20130508/52d423e3/attachment.htm>


More information about the Haskell mailing list