
10 Apr
2011
10 Apr
'11
2:04 p.m.
On Sun, 10 Apr 2011 19:29:38 +0200, Amitava Shee
I came across this definition in ghc source
$GHC/compiler/utils/State.hs ======================= newtype State s a = State { runState' :: s -> (# a, s #) }
What does the construct (# a, s #) mean?
This is an unboxed tuple, see: http://www.haskell.org/ghc/docs/latest/html/users_guide/primitives.html#unbo... Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --