When I compile the following piece of code I obtain the very short message:

AClass


----------------------------------
\begin{code}

module Main(main) where
import Char

class Point p where
  xBody  :: Point self => (p -> self) -> p -> Int

main :: IO ()
main = putStrLn "Hola"

\end{code}

Notes: 

- That piece of code is taken from the translation used in the "Haskell++" 
paper

- It seems to work ok in Hugs98 (I suppose that it also works in hbc, 
but I didn't try)

- I am using ghc-4.08 in Debian linux and in Win32 (the same message)

Regards, Jose Labra
http://lsi.uniovi.es/~labra


Reply via email to