L.S.,

Trying to compile the sample programs in the wxHaskell package, I received  
several compiler error messages:

[...]\Haskell\GUI\wxhaskell\wxhaskell-0.10.3\samples\wx> for %a in (*.hs)  
do ghc --make %a
[...]
C:\Documents and Settings\Henk-Jan\Mijn  
documenten\SoftwareOntwikkeling\Haskell\GUI\wxhaskell\wxhaskell-0.10.3\samples\wx>ghc
  
--make TimeFlowsEx.hs
[1 of 1] Compiling Main             ( TimeFlowsEx.hs, TimeFlowsEx.o )

TimeFlowsEx.hs:113:14:
     Couldn't match expected type `CDialog ()'
            against inferred type `CPanel p'
       Expected type: Attr (Dialog ()) a
       Inferred type: Attr (Panel p) (Button ())
     In the first argument of `(:=)', namely `defaultButton'
     In the expression: defaultButton := ok


[...]\Haskell\GUI\wxhaskell\wxhaskell-0.10.3\samples\wxcore>for %a in  
(*.hs) do ghc --make %a

[...]
[...]\Haskell\GUI\wxhaskell\wxhaskell-0.10.3\samples\wxcore>ghc --make  
ByeDemo.hs
[1 of 1] Compiling Main             ( ByeDemo.hs, ByeDemo.o )

ByeDemo.hs:36:7: Not in scope: `topLevelWindowSetDefaultItem'
[...]
[...]\Haskell\GUI\wxhaskell\wxhaskell-0.10.3\samples\wxcore>ghc --make  
ImageViewer.hs
[1 of 1] Compiling Main             ( ImageViewer.hs, ImageViewer.o )

ImageViewer.hs:40:7: Not in scope: `topLevelWindowSetIconFromFile'


-- 
Regards,
Henk-Jan van Tuyl


--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to