Hey all,
-
Vim syntax highlighting for GHC-style .lhs and .hs + cpp
-
Rather than let this just sit on my hd, I'm making them available.
ftp://ftp.cse
> "VW" == Volker Wysk <[EMAIL PROTECTED]> writes:
VW> I'm pleased to announce the first release of the
VW> HsUnix library. It enables you to do things easily
VW> in Haskell which are typically done by the
VW> shell. Thus Haskell can be used to write shell
VW> scripts.
Than
S. Alexander Jacobson wrote:
> This code works echos lines properly under GHCi,
> but just sucks in input when running the GHC
> compiled executable.
>
> import IO
> main= do
> x<-hGetLine stdin
> putStr x
> main
>
> Am I doing something wrong?
GHCi automatically di
You're not really doing anything wrong. You're just another victim of
line buffering.
Try this,
import IO
main = do
hSetBuffering stdout LineBuffering
main2
main2 = do
x<-hGetLine stdin
putStrLn x
main2
On Mon, 09 Feb 2004 11:06 am, S. Alexander Jacobson wrote:
> This code works echos l
This code works echos lines properly under GHCi,
but just sucks in input when running the GHC
compiled executable.
import IO
main= do
x<-hGetLine stdin
putStr x
main
Am I doing something wrong?
-Alex-
On Saturday 07 February 2004 20:46, Gour wrote:
> When asked on KDevelop forum, I got the reply that Haskell plugin is not in
> active development, but it looks like you are still behind it, isn't it?
The last update was made in September and I didn't have much time to work on
it since then but I
I'm pleased to announce the first release of the HsUnix library. It
enables you to do things easily in Haskell which are typically done by the
shell. Thus Haskell can be used to write shell scripts.
Features
Command Line Arguments Parser
HsUnix has facilities for managing command li