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
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
Hi,
getMyLine :: IO [Char]
getMyLine = do
c - getChar
if(c == '\n')
then return
elsecs - getMyLine
return [c]
___
Haskell mailing
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 -