Re: bang patterns give fundamentally new capabilities?

2006-12-03 Thread John Meacham
On Sat, Dec 02, 2006 at 11:02:28PM +, Simon Peyton-Jones wrote: | I was recently presented with the problem of writing a function like so | | seqInt__ :: forall a . a - Int# - Int# | seqInt__ x y = x `seq` y | | which seems fine, except 'seq' of type forall a b . a - b - b cannot | be

% of memory unit to heap-controlling RTS flags

2006-12-03 Thread Ravi Nanavati
If you're trying to produce ghc executables that will work well without tweaking on machines with different configurations, it would handy to be able to control the heap requested based on the size of physical RAM. For instance, you might want to set -M to 100% or 80% of physical RAM and -H to