Re: [Haskell-cafe] A first glimps on the {-# NOUPDATE #-} pragma

2012-08-29 Thread Facundo Domínguez
Hi, upd_noupd n = let l = myenum' 0 n in last l + length l This could be rewritten as upd_noupd n = let l n = myenum' 0 n in last (l n) + length (l n) Or a special form of let could be introduced to define locally-scoped

Re: [Haskell-cafe] Haskell-Cafe Digest, Vol 108, Issue 22

2012-08-17 Thread Facundo Domínguez
I have one unbearable doubt, how do you accent CoCoCo? CóCoCo? CoCóCo? CoCoCó? Facundo Date: Thu, 16 Aug 2012 21:40:28 +0200 From: Doaitse Swierstra doai...@swierstra.net Subject: [Haskell-cafe] [Announce] Compositional Compiler Construction, Oberon0 examples available To:

Re: [Haskell-cafe] [Announce] Compositional Compiler Construction, Oberon0 examples available

2012-08-17 Thread Facundo Domínguez
Sorry, fixed the subject. On Fri, Aug 17, 2012 at 11:11 AM, Facundo Domínguez facundoming...@gmail.com wrote: I have one unbearable doubt, how do you accent CoCoCo? CóCoCo? CoCóCo? CoCoCó? Facundo Date: Thu, 16 Aug 2012 21:40:28 +0200 From: Doaitse Swierstra doai...@swierstra.net Subject

Re: [Haskell-cafe] Martin Odersky on What's wrong with Monads

2012-07-05 Thread Facundo Domínguez
That precedent supports the view that e.g. a command-line flag shouldn't affect behavior without the type reflecting it, e.g. by doing IO, but the de facto use of the unsafe IO trick means not everyone agrees. For those interested, here's [1] a case where treating command line arguments as

Re: [Haskell-cafe] [Haskell] ANNOUNCE: notcpp-0.0.1

2012-04-14 Thread Facundo Domínguez
Hi, scopeLookup :: String - Q Exp The example provided here [1] fails at runtime is no name can be found in scope. Would it make more sense to have scopeLookup :: [String] - Q Exp and have compilation fail if no name in the list is in scope? By the way, the library brings an interesting

Re: [Haskell-cafe] Is fusion overrated?

2011-05-18 Thread Facundo Domínguez
which is capable of producing elements one-by-one. So the whole thing probably should run in constant space as well. Besides reducing the amount of GC calls, performance would also improve because the GC calls that remain are cheaper. The original program may run in constant space, but the

[Haskell-cafe] Do exist globally available hosting project services?

2011-05-06 Thread Facundo Domínguez
Dear haskellers, I was reading the terms of service of the Haskell Community Server and found this statement: Users residing in countries on the United States Office of Foreign Assets Control sanction list, including Cuba, Iran, Libya, North Korea, Sudan and Syria, may not post or access