|
From: shelarcy <she...@ca...> - 2004-08-07 15:04:01
|
Hello,
I found that two contribute sample is broken.
Here is a error message.
C:/develop/wxhaskell-0.8/samples/contrib/NotebookRight.hs:25:
Couldn't match `IO (TextCtrl ())' against `t -> t1'
Expected type: IO (TextCtrl ())
Inferred type: t -> t1
Probable cause: `textCtrl' is applied to too many arguments in the call
(textCtrl p WrapLine [enabled := False])
In a 'do' expression:
textlog <- textCtrl p WrapLine [enabled := False]
Failed, modules loaded: none.
C:/develop/wxhaskell-0.8/samples/contrib/PaintDirect.hs:25:
Ambiguous occurrence `size'
It could refer to either `Graphics.UI.WX.Classes.size', imported from
Graphi
cs.UI.WX at C:/develop/wxhaskell-0.8/samples/contrib/PaintDirect.hs:10
or `Graphics.UI.WXCore.WxcTypes.size', imported
from G
raphics.UI.WXCore at
C:/develop/wxhaskell-0.8/samples/contrib/PaintDirect.hs:9
C:/develop/wxhaskell-0.8/samples/contrib/PaintDirect.hs:28:
Ambiguous occurrence `size'
It could refer to either `Graphics.UI.WX.Classes.size', imported from
Graphi
cs.UI.WX at C:/develop/wxhaskell-0.8/samples/contrib/PaintDirect.hs:10
or `Graphics.UI.WXCore.WxcTypes.size', imported
from G
raphics.UI.WXCore at
C:/develop/wxhaskell-0.8/samples/contrib/PaintDirect.hs:9
--
shelarcy <she...@ca...>
http://page.freett.com/shelarcy/
|