Re:From 60 Frames per Second to 500 in Haskell
by tome on Wednesday October 15, 2014 @04:57PM
(#8461668)
> you usually want your data structures to be as strict as possible, but your control flow to be as lazy as possible
That's a very nice slogan. I'll have to remember that. It certainly covers the case of generally wanting your record fields to be strict and lists to be lazy when used for control flow.
[1] https://ghc.haskell.org/trac/ghc/wiki/StrictPragma