[Haskell-cafe] Re: Haskell-Cafe Digest, Vol 67, Issue 41

2009-03-16 Thread abdullah abdul Khadir
On Mon, 16 Mar 2009 08:05:37 -0700 Don Stewart d...@galois.com wrote : Subject: [Haskell-cafe] Visualising the Hierarchical Namespace I've just finished a post (and quick tool) for graphing the complete module namespace of Haskell, taken from the core libraries and all of Hackage. It's

Re: [Haskell] Re: Help : A problem with IO

2008-11-27 Thread abdullah abdul Khadir
Thanks all, I got it working finally. What did i learn ? a) I need to put a do after else for more than one instruction (?) b) All similar type of questions are to be redirected to haskell-beginner and haskell-cafe Points noted. Thank you once again, Abdullah Abdul Khadir

[Haskell] Help : A problem with IO

2008-11-26 Thread abdullah abdul Khadir
Hi, getMyLine :: IO [Char] getMyLine = do c - getChar if(c == '\n') then return elsecs - getMyLine return [c] ___ Haskell mailing

[Haskell] Re: Help : A problem with IO

2008-11-26 Thread abdullah abdul Khadir
Hi, The function getMyLine written by me is intended for getting a complete string from the standard input. import IO getMyLine :: IO [Char] getMyLine = do c - getChar if(c == '\n') then return elsecs -