What do the following numbers mean?

2012-04-02 Thread Jurriaan Hage
Dear all, I ran a small example program, and this is what I got from using the -s flag: 486,550,118,368 bytes allocated in the heap 323,749,418,440 bytes copied during GC 1,842,979,344 bytes maximum residency (219 sample(s)) 204,653,688 bytes maximum slop 4451 MB total memory in

Re: [Haskell-cafe] A Modest Records Proposal

2012-04-02 Thread Alp Mestanogullari
Lesson learned: for next year, write a Haskell program that tells if a given -cafe thread or reddit discussion is a April Fool's joke or not. On Sun, Apr 1, 2012 at 7:10 PM, Christopher Done wrote: > I actually read the first couple paragraphs and thought “sounds > interesting I'll read it later”

Re: [Haskell-cafe] A Modest Records Proposal

2012-04-02 Thread Michael Snoyman
On Mon, Apr 2, 2012 at 3:38 PM, Alp Mestanogullari wrote: > Lesson learned: for next year, write a Haskell program that tells if a given > -cafe thread or reddit discussion is a April Fool's joke or not. import Data.Time main = do now <- getCurrentTime let (_, month, day) = toGregorian $

Re: [Haskell-cafe] A Modest Records Proposal

2012-04-02 Thread Christopher Done
On 2 April 2012 14:41, Michael Snoyman wrote: > import Data.Time > > main = do >    now <- getCurrentTime >    let (_, month, day) = toGregorian $ utctDay now >    putStrLn $ >        if month == 4 && day == 1 >            then "It's a joke" >            else "It's real" import Data.Time main = d

Re: cabal install version selection

2012-04-02 Thread Christian Hoener zu Siederdissen
Thanks, that was a rather curious problem then. With more version annotations, hackage compiled everything. Thanks for for testing! Gruss, Christian * Albert Y. C. Lai [31.03.2012 03:58]: > On 12-03-30 06:37 PM, Christian Höner zu Siederdissen wrote: > >I fail to remember or re-google the pack

Re: Potential GSoC proposal: Reduce the speed gap between 'ghc -c' and 'ghc --make'

2012-04-02 Thread Johan Tibell
I for one think this would make a good GSoC project. Make sure you get your application in in time though. -- Johan ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: [Haskell-cafe] A Modest Records Proposal

2012-04-02 Thread Evan Laforge
On Mon, Apr 2, 2012 at 5:41 AM, Michael Snoyman wrote: > On Mon, Apr 2, 2012 at 3:38 PM, Alp Mestanogullari > wrote: >> Lesson learned: for next year, write a Haskell program that tells if a given >> -cafe thread or reddit discussion is a April Fool's joke or not. > > import Data.Time > > main =

Re: A Modest Records Proposal

2012-04-02 Thread Ben Franksen
ROTFL! Ben Gershom B wrote: > The records discussion has been really complicated and confusing. But > I have a suggestion that should provide a great deal of power to > records, while being mostly[1] backwards-compatible with Haskell 2010. > Consider this example: > > data A a = A{a:a, aa::a

Re: What do the following numbers mean?

2012-04-02 Thread Ben Lippmeier
On 02/04/2012, at 10:10 PM, Jurriaan Hage wrote: > Can anyone tell me what the exact difference is between > 1,842,979,344 bytes maximum residency (219 sample(s)) > and > 4451 MB total memory in use (0 MB lost due to fragmentation) > > I could not find this information in the docs anywhere, bu