[Haskell-cafe] In-place modification

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sun Jul 15 09:55:40 EDT 2007

On Jul 15, 2007, at 8:45 , Donald Bruce Stewart wrote:

>     main = print $( let x = pureSieve 10000000 in [| x |] )

I'm reminded of the C++ expert in CMU SCS who used to amuse himself  
by making template expansion do all the real work at compile time.   
(Yes, including a prime sieve.)

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

More information about the Haskell-Cafe mailing list