[Haskell-cafe] Lazy vs correct IO [Was: A round of golf]

Rick R rick.richardson at gmail.com
Sun Apr 5 11:06:50 EDT 2009

It depends on the underlying file control used by ghc. if it's the FILE
stream pointer, some implementations suffer from a 255 file limit. If it's a
standard file descriptor (open instead of fopen), then it's limited by

On Sun, Apr 5, 2009 at 10:35 AM, Jason Dusek <jason.dusek at gmail.com> wrote:

>  Oh, curses. I didn't run it with the right option.
>  :; ulimit -a
> core file size          (blocks, -c) 0
> data seg size           (kbytes, -d) 6144
> file size               (blocks, -f) unlimited
> max locked memory       (kbytes, -l) unlimited
> max memory size         (kbytes, -m) unlimited
> open files                      (-n) 256
> pipe size            (512 bytes, -p) 1
> stack size              (kbytes, -s) 8192
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 266
> virtual memory          (kbytes, -v) unlimited
>  So now I'm not sure why it worked on my Mac.
> --
> Jason Dusek
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

We can't solve problems by using the same kind of thinking we used when we
created them.
   - A. Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090405/f0afd73d/attachment.htm

More information about the Haskell-Cafe mailing list