Good stuff Simon! It would be great if either strict-base-types, strict or a merger of the two will find its way into the Haskell Platform. Even better if it also merged with strict-concurrency and strict-io so that we have one go-to package for strict types and operations.
Cheers, Bas On 8 May 2013 13:40, Simon Meier <iridc...@gmail.com> wrote: > 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