Re: [Haskell-cafe] how out of memory is handled in Haskell

2009-01-06 Thread Manlio Perillo
Manlio Perillo ha scritto: [...] How is this handled in GHC? - exit(1)? - abort()? - IO exception? Ok, found it by myself: http://hackage.haskell.org/trac/ghc/ticket/1791 It is also explicitly documented in: http://haskell.org/ghc/docs/latest/html/libraries/base/Control-Exception.html and i

Re: [Haskell-cafe] how out of memory is handled in Haskell

2009-01-06 Thread Don Stewart
manlio_perillo: > Hi. > > Here: > http://damienkatz.net/2008/03/what_sucks_abou.html > > I found how Erlang (or at least old versions of Erlang) handles out of > memory failure: it just calls exit(1). > > > How is this handled in GHC? > - exit(1)? > - abort()? > - IO exception? > > GHC:

[Haskell-cafe] how out of memory is handled in Haskell

2009-01-06 Thread Manlio Perillo
Hi. Here: http://damienkatz.net/2008/03/what_sucks_abou.html I found how Erlang (or at least old versions of Erlang) handles out of memory failure: it just calls exit(1). How is this handled in GHC? - exit(1)? - abort()? - IO exception? Thanks Manlio Perillo __