
4 Jul
2011
4 Jul
'11
1:57 p.m.
At 5:55 PM +1000 7/1/11, Ivan Lazar Miljenovic wrote:
I propose we add a operator - tentatively labelled $!! (and which Hayoo reports isn't currently exported by a Hackage package) - as a deepseq analogue $! to the deepseq library:
($!!) :: (NFData a) => (a -> b) ->a -> b f $!! x = x `deepseq` f x
infixr 0 $!!
+1 Note that I included the ($!!) operator in my original DeepSeq module (http://haskell.org/pipermail/haskell/2001-August/001586.html). Dean