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

2012-08-19 Thread Doaitse Swierstra
On Aug 19, 2012, at 10:40 , Heinrich Apfelmus apfel...@quantentunnel.de wrote: Doaitse Swierstra wrote: Over the years we have been constructing a collection of Embedded Domain Specific Languages for describing compilers which are assembled from fragments which can be compiled individually.

Re: [Haskell-cafe] Platform Versioning Policy: upper bounds are not our friends

2012-08-19 Thread Felipe Almeida Lessa
On Sat, Aug 18, 2012 at 3:57 AM, David Feuer david.fe...@gmail.com wrote: If the language is changed (without possibility of breakage, I believe) so that names declared in a module shadow imported names, incompatibility can only arise if two different imports offer the same name, and it is

Re: [Haskell-cafe] Adding to / subtracting from a LocalTime?

2012-08-19 Thread Yitzchak Gale
Adde Nilsson wrote: Ok, do you know of any way to add/subtract without converting to UTC and back? Brandon Allbery wrote: I'm not sure I'd do that in any environment, since usually libraries don't deal with the result crossing a daylight/summer time change (and those that do, surprise

Re: [Haskell-cafe] Network.Curl cookie jar madness

2012-08-19 Thread Brandon Allbery
On Sat, Aug 18, 2012 at 8:52 PM, Michael Orlitzky mich...@orlitzky.comwrote: Curl is making the request, but if I remove the (hPutStrLn stderr response_body), it doesn't work! What's even more insane is, this works: hPutStrLn stderr response_body and this doesn't: hPutStrLn stdout

Re: [Haskell-cafe] Network.Curl cookie jar madness

2012-08-19 Thread Iustin Pop
On Sun, Aug 19, 2012 at 12:45:47AM -0400, Michael Orlitzky wrote: On 08/18/2012 08:52 PM, Michael Orlitzky wrote: I'm one bug away from a working program and need some help. I wrote a little utility that logs into LWN.net, retrieves an article, and creates an epub out of it. I've created

Re: [Haskell-cafe] Network.Curl cookie jar madness

2012-08-19 Thread Iustin Pop
On Sun, Aug 19, 2012 at 06:06:53PM +0200, Iustin Pop wrote: On Sun, Aug 19, 2012 at 12:45:47AM -0400, Michael Orlitzky wrote: On 08/18/2012 08:52 PM, Michael Orlitzky wrote: I'm one bug away from a working program and need some help. I wrote a little utility that logs into LWN.net,

Re: [Haskell-cafe] Adding to / subtracting from a LocalTime?

2012-08-19 Thread Roman Cheplyaka
On Sat, Aug 18, 2012 at 8:27 PM, Adde Nilsson trialc...@gmail.com wrote: Hi. How do you add to or subtract from a LocalTime? I'm trying to subtract a second from a LocalTime value but the only API's I can find act only on the TimeOfDay part. subSec :: LocalTime - LocalTime subSec

Re: [Haskell-cafe] Network.Curl cookie jar madness

2012-08-19 Thread Michael Orlitzky
On 08/19/2012 12:58 PM, Iustin Pop wrote: On more investigation, this seems to be due to the somewhat careless use of Foreign.Concurrent; from the docs: “The finalizer will be executed after the last reference to the foreign object is dropped. There is no guarantee of promptness, and

Re: [Haskell-cafe] Platform Versioning Policy: upper bounds are not our friends

2012-08-19 Thread Chris Dornan
I agree with Bryan's proposal unreservedly. However, I think there might be a way to resolve the tension between: * maintaining and publishing a definite dependent-package configuration that is known to work and * having a package unencumbered with arbitrary restrictions on which future