[Haskell-cafe] Make two windows work together

2009-10-20 Thread xu zhang
Hi there, I am trying to make a sub-window of one window and make them work together. I mean, if I zoom or transform some content in one of the window, the other one works in the same way. What I have done so far is just open a new window which have the same drawing view as the original one, but

[Haskell-cafe] double colon equal

2009-09-29 Thread xu zhang
Hi, is there anyone can tell me what does the ::= mean?And what does the code below mean? expr ::= expr addop term | term Thank you in advance! ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] About the parse error (possibly incorrect indentation)

2009-09-17 Thread xu zhang
Hi, I am trying to get the function showMinProp to return String, but I always get an error of parse error (possibly incorrect indentation) Who can help with this? any idea? Thank u in advance! data Prop = Var String | Negation Prop | BinOp Op Prop Prop data Op = And | Or | Implies | Equiv

[Haskell-cafe] About the import module

2009-08-05 Thread xu zhang
Hi there, If I import a module and do not explicitly point out the entities I have imported. And I want the ghc to point out the entities automatically. Is there any method to do this? any methods to have the ghc point out the entities I import and export? Because there are so many files and I

[Haskell-cafe] About the return type

2009-07-09 Thread xu zhang
I have trouble in returning a list of Figures. I want return a type of m (Maybe [Figure IO]), but the type of dv_findFigure is :: a - Point - s (Maybe (Figure s)). How can change the code below to get a s (Maybe [Figure s])? Thank you in advance! dv_findFigure :: a - Point - s (Maybe (Figures))