I would like to announce the first release of the set-monad library.
On Hackage: http://hackage.haskell.org/package/set-monad
The set-monad library exports the Set abstract data type and
set-manipulating functions. These functions behave exactly as their
namesakes from the Data.Set module of the
Hi
I'm having issues with HDBC when connecting to a remote MySQL server -
certain queries cause the DB connection to be lost. The following program
demonstrates this:
import Database.HDBC
import Database.HDBC.ODBC
main = do
conn <- connectODBC "DSN=owlro"
putStrLn "Connected"
On Wed, Jun 13, 2012 at 12:56 AM, Roman Leshchinskiy
wrote:
>
> It doesn't change the semantics of your program but it can make it
> significantly slower (or faster, as in this case). The various state hack
> related tickets on trac might give you an idea of what is happening here.
>
I filed a b
> What I meant to ask is: how much time, approximately, did you spend
> working with Nix? 1 hour? 10 hours? 10 days? 10 months?
You know that it is not 10 months, but I do object to your line of questioning.
I have invested a considerable good-faith effort into getting to the
bottom of what
you an
I made some modifications based on your suggestions (see below).
I made a two parameters class:
*class (Typeable e, Typeable d) => Handled e d *
Because after all what I want is to associate an event with its type
parameters.
I don't know why I cannot implement you suggestion to restrict the
instan
Now all packages, including those without exposed modules, are
included. Also, I've attempted to parse the author lists into JSON
arrays. Due to the free format of many fields in the .cabal package
descriptions, including author list, there are many exceptional cases
where they are ill-parsed, but
Hi Chris,
> I deatiled some of my trials with Nix -- I wasn't making it up!
of course, I didn't mean to imply that you were. My question was phrased
poorly, I am sorry.
What I meant to ask is: how much time, approximately, did you spend
working with Nix? 1 hour? 10 hours? 10 days? 10 months?
T
To be honest I did try to use Nix for exactly this purpose. For some reason
things started to break and since I couldnt find any documentation on how
to do stuff with it, I just abandonded the idea. Also tried out NixOS:
pretty much the same story. Everything appears to be fine at the start, but
th
I deatiled some of my trials with Nix -- I wasn't making it up!
Chris
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi Chris,
> I cannot see how it can address any of the user-level Haskell package
> database management and sandboxing mechanisms that I mentioned in the
> announcement and subsequent emails.
have you ever actually used Nix?
Take care,
Peter
___
H
>
> Am I doing something wrong here?
Well, you're using ghc-6.12 ... :-)
The most recent version of pandoc that Hackage claims to have built with
ghc 6.12 looks to be 1.6. Rolling back that far eliminates the json
dependency entirely, so I think it would solve your issue. Or you could use
the Pa
On Fri, Jun 15, 2012 at 6:38 AM, Corentin Dupont
wrote:
>
> It just bothers me a little that I'm not able to enumerate the events, and
> also that the user is able to create events with wrong types (like New ::
> Event String), even if they won't be able to register them.
>
This can be solved wit
Hi,
it works very well!
I tried to implement it. Here is my test code. Apparently I need some casts
to search the list.
The syntax looks good. Only addEvent will be on the interface, so that
should be fine. If I understand well, that's this function that enforces
the right types to be used. The eve
2012/6/8 Brent Yorgey :
> On Thu, Jun 07, 2012 at 07:32:45PM +0100, ex falso wrote:
>>
>> we always have to put the class restriction (TupleLength l) there,
>> even though all possible type constructors of [*] have a TupleLength
>> instance defined!
>
> Yes, and this is a feature, for at least two
Hello,
I recently tried to install the latest version of pandoc on my debian
stable box (with ghc 6.12.1) using virthualenv as sandboxing
mechanism. But instead of a normal installation, compilation of the
json package (more specifically the Text.JSON.Parsec module) hangs and
causes ghc to consume
Hi Peter and Andres,
> > Where is this functionality provided by Nix?
>
> simply run these commands
>
> ...
>
> # Haskell Platform 2012.2.0.0'
> nix-env -p ~/ghc-7.4.1 -iA haskellPackages_ghc741.haskellPlatform
>
> and you'll have profiles that contain the appropriate binaries and
libraries
> defi
Hi Chris,
> Where is this functionality provided by Nix?
simply run these commands
# Haskell Platform 2009.2.0.2
nix-env -p ~/ghc-6.10.4 -iA haskellPackages_ghc6104.haskellPlatform
# Haskell Platform 2010.2.0.0
nix-env -p ~/ghc-6.12.3 -iA haskellPackages_ghc6123.haskellPlatform
# Haskell
17 matches
Mail list logo