[Haskell-cafe] do construct in wxhaskell

2008-04-12 Thread Jodi-Ann Prince
hi, im working ona project, and im having problem loading some code in wxhaskell: onOpen :: Frame a - TextCtrl b - MenuItem c - StatusField - IO () onOpen f sw mclose status = do mbfname - fileOpenDialog f False True Open image fileTypescase

Re: [Haskell-cafe] do construct in wxhaskell

2008-04-12 Thread Abhay Parvate
The indentation is not right; all the statements after the 'do' keyword need to start exactly at the same column. In particular, the 'f' in fileContent and 's' in set should be one below the other. And the 'return ()' also seems to be displaced; perhaps you want that also exactly below the last