Package: ghc6
Version: 6.6.1-2
Severity: normal

I have this simple program:

main = interact (unlines . filter (elem 'a') . lines)

If I run this under runghc, it appears as if stdin is set to
NoBuffering; that is, echoing of data begins as soon as 'a' is seen on
any given line.

If I compile it with ghc --make, it appears as if stdin is set to
LineBuffering.

This difference in default doesn't seem to make any sense, and, as far
as I can tell, is undocumented.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (99, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages ghc6 depends on:
ii  gcc                       4:4.1.2-3      The GNU C compiler
ii  haskell-utils             1.9            Utilities used by the Debian Haske
ii  libc6                     2.5-11         GNU C Library: Shared libraries
ii  libgmp3-dev               2:4.2.1+dfsg-4 Multiprecision arithmetic library 
ii  libgmp3c2                 2:4.2.1+dfsg-4 Multiprecision arithmetic library
ii  libncurses5               5.6-3          Shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  libreadline5-dev          5.2-3          GNU readline and history libraries
ii  perl [perl5]              5.8.8-7        Larry Wall's Practical Extraction 

ghc6 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to