It's the syntax for unboxed tuple. See: http://www.haskell.org/ghc/docs/latest/html/users_guide/primitives.html#unboxed-tuples

Best regards,
Krzysztof Skrzętnicki

On Sun, Apr 10, 2011 at 19:29, Amitava Shee <amitava.shee@gmail.com> wrote:
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?

Thanks & Regards,
Amitava Shee

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners