Re: [Haskell-cafe] One-element tuple

2013-08-19 Thread Daniel F
Can you please elaborate why this inconsistency is annoying and what's the use of OneTuple? Genuine question, thanks. On Fri, Aug 16, 2013 at 5:35 AM, AntC anthony_clay...@clear.net.nz wrote: There's an annoying inconsistency: (CustId 47, CustName Fred, Gender Male) -- threeple

Re: [Haskell-cafe] Errors in non-monadic code

2013-08-19 Thread Daniel F
On Mon, Aug 19, 2013 at 9:48 PM, jabolo...@google.com wrote: Hi, Hello! What is the proper way to implement a non-monadic function that checks whether a given value is correct and gives a proper error message otherwise ? What is the recommended option ? I am not sure, what do you mean

[Haskell-cafe] ANN: restricted-workers-0.1

2013-08-12 Thread Daniel F
Introducing: restricted-workers library, version 0.1.0. This library provides an abstract interface for running various kinds of workers under resource restrictions. It is being developed as part of the interactive-diagrams project and you can read more about the origins of the library in my GSoC

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread Daniel F
I second this. Also, I would like to point out that the product you get from Hackage (the source code) will be licensed under the GPL. Nobody can get the commercial version of the product from Hackage, as one has to contact you (the owner) directly or in some other manner. I guess that is what

Re: [Haskell-cafe] What have happened to haskell.org?

2013-07-15 Thread Daniel F
The web site is migrating. IRC says: Topic for #haskell: haskell.org in the middle of migration; expect turbulence; use www.haskell.org On Mon, Jul 15, 2013 at 6:19 PM, Kirill Zaborsky qri...@gmail.com wrote: On URL http://haskell.org/ I get starting Apache page and 404 on

Re: [Haskell-cafe] Hoogle problems?

2013-07-15 Thread Daniel F
The web site is migrating. IRC says: Topic for #haskell: haskell.org in the middle of migration; expect turbulence; use www.haskell.org On Mon, Jul 15, 2013 at 5:35 PM, Andrew Butterfield andrew.butterfi...@scss.tcd.ie wrote: I've just tried using Hoogle, but either get a 404 not found

[Haskell-cafe] [GSoC] Interactive-diagrams GSoC progress report

2013-07-15 Thread Daniel F
Hello everyone, I am participating in Haskell.org's Google Summer of Code, working on the interactive-diagrams [1] project. The mid-term evaluations are approaching and I am doing some writeup on the work I did so far:

Re: [Haskell-cafe] Problems with GHC API and error handling

2013-06-16 Thread Daniel F
at 1:26 PM, Daniel F difru...@gmail.com wrote: Hello, everyone. I am in need of setting up custom exception handlers when using GHC API to compile modules. Right now I have the following piece of code: * Main.hs

[Haskell-cafe] Problems with GHC API and error handling

2013-06-15 Thread Daniel F
Hello, everyone. I am in need of setting up custom exception handlers when using GHC API to compile modules. Right now I have the following piece of code: * Main.hs: -- import GHC import GHC.Paths