Announcement of AsmGofer (Gofer with state)

1999-10-13 Thread Joachim Schmid
AsmGofer is an extension of TkGofer. TkGofer is an extension of Gofer in order to support graphical user interfaces. Gofer is a subset of Haskell. AsmGofer can be viewed as TkGofer with a notion of state. You can declare dynamic functions and redefine them during execution. Here is one example:

simple haskell-program does not terminate

1998-12-02 Thread Joachim Schmid
"a" []] (C2 "a" [])) , ("x", C3 [C2 "a" [],C2 "a" []] (C2 "a" [])) , ("x", C3 [C2 "a" [],C2 "a" []] (C2 "a" [])) , ("x", C3 [C2 "a" [],C2 "a" []] (C2 "a" [])) , ("x", C3 [C2 "a" [],C2 "a" []] (C2 "a" [])) , ("x", C3 [C2 "a" [C2 "a" []]] (C2 "a" [])) , ("x", C3 [C2 "a" [C2 "a" []]] (C2 "a" [])) , ("x", C3 [C2 "a" [C2 "a" []]] (C2 "a" [])) , ("x", C3 [C2 "a" [C2 "a" []],C2 "a" []] (C2 "a" [])) , ("x", C3 [C2 "a" [C2 "a" []],C2 "a" []] (C2 "a" [])) , ("x", C3 [C2 "a" [],C2 "a" [C2 "a" []]] (C2 "a" [])) , ("x", C3 [] (C2 "a" [])) , ("x", C3 [] (C2 "a" [])) , ("x", C3 [C2 "a" []] (C2 "a" [])) ] data T = C2 String [T] | C3 [T] T --- Joachim Schmid mail: [EMAIL PROTECTED]

Problems with ghc-4.01 on sparc-solaris

1998-12-02 Thread Joachim Schmid
Has anyone tried the ghc-4.01 binary package for sparc-sun-solaris2 with gcc-2.8.1? I have downloaded the package and I have compiled a simple haskell-program. All I get is a just a core dump (Bus error). I'm not sure if this is a problem with my sun or a bug in the binary distribution. Joachim

ccall doesn't work

1997-07-09 Thread Joachim Schmid
In the Online User-documentation I found the following example: module GHCmain ( mainPrimIO ) where import PreludeGlaST mainPrimIO :: PrimIO () mainPrimIO = do sleep 5 _ccall_ printf "%d\n" (14::Int) sleep :: Int - PrimIO () sleep t = _ccall_ sleep t Compiling this