On 1 September 2011 11:19, bob zhang <bobzhang1...@gmail.com> wrote: > Hi, all > > parseExp "(,) 3 4 " => > > Right (AppE (AppE (ConE GHC.Unit.(,)) (LitE (IntegerL 3))) (LitE > (IntegerL 4))) > > where's GHC.Unit.(,) ?
GHC.Unit (like all GHC.* modules) is an internal module used by GHC to implement base, containers, etc. The actual definitions of tuples in the Prelude "come" from Data.Unit, which for GHC are just re-exported from GHC.Unit: http://haskell.org/ghc/docs/latest/html/libraries/base/src/Data-Tuple.html -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe