Yes, this is a known problem. I intend to put out a fresh version of HaXml soon to fix it.
Regards, Malcolm On 18 Mar 2014, at 15:17, Christian Maeder wrote: > Hi, > > under mavericks using the ghc-clang-wrapper (ghc-7.6) or using > ghc-7.8.20140130 I can no longer install the HaXml package. > > The source line: > putStrLn $ "part of HaXml-"++show MAJOR.MINOR > > seems to put spaces around the decimal point between MAJOR and MINOR and > fails as shown below. > > Is this already a known problem? > > Cheers Christian > > [14 of 42] Compiling Text.XML.HaXml.Wrappers ( > src/Text/XML/HaXml/Wrappers.hs, dist/build/Text/XML/HaXml/Wrappers.o ) > > src/Text/XML/HaXml/Wrappers.hs:34:36: > Couldn't match type ‛[Char]’ with ‛b0 -> c0’ > Expected type: b0 -> c0 > Actual type: String > Possible cause: ‛show’ is applied to too many arguments > In the first argument of ‛(.)’, namely ‛show 1’ > In the second argument of ‛(++)’, namely ‛show 1 . 24’ > > src/Text/XML/HaXml/Wrappers.hs:34:36: > Couldn't match expected type ‛[Char]’ with actual type ‛a0 -> c0’ > In the second argument of ‛(++)’, namely ‛show 1 . 24’ > In the second argument of ‛($)’, namely > ‛"part of HaXml-" ++ show 1 . 24’ > In a stmt of a 'do' block: > putStrLn $ "part of HaXml-" ++ show 1 . 24 > Failed to install HaXml-1.24 > > _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users