Re: [Haskell-cafe] mtl and transformers

2010-01-11 Thread Martijn van Steenbergen
Günther Schmidt wrote: Hi, when I cabal-installed the iteratee package, the transformers package was also installed as a dependency. Now when I run applications that import Control.Monad.Transformers I get this: Could not find module `Control.Monad.Trans': it was found in

Re: [Haskell-cafe] mtl and transformers

2010-01-11 Thread Ivan Lazar Miljenovic
Martijn van Steenbergen mart...@van.steenbergen.nl writes: Another solution is to build your applications using Cabal and specify your dependency on mtl in the cabal file. But until we have cabal ghci, this completely fails for actual hacking purposes... -- Ivan Lazar Miljenovic

RE: [Haskell-cafe] mtl and transformers

2010-01-11 Thread Sittampalam, Ganesh
Ivan Lazar Miljenovic wrote: Martijn van Steenbergen mart...@van.steenbergen.nl writes: Another solution is to build your applications using Cabal and specify your dependency on mtl in the cabal file. But until we have cabal ghci, this completely fails for actual hacking purposes... Just

Re: [Haskell-cafe] mtl and transformers

2010-01-11 Thread Bas van Dijk
On Mon, Jan 11, 2010 at 10:16 AM, Sittampalam, Ganesh ganesh.sittampa...@credit-suisse.com wrote: Ivan Lazar Miljenovic wrote: Martijn van Steenbergen mart...@van.steenbergen.nl writes: Another solution is to build your applications using Cabal and specify your dependency on mtl in the cabal

[Haskell-cafe] New blog: mainly Haskell and wxHaskell related

2010-01-11 Thread Jeremy O'Donoghue
Hi all, I have just started a new blog at http://wewantarock.wordpress.com. At least initially, my intention is to provide a set of 'tutorial' style articles to help new wxHaskell users get beyond the 'Hello World' stage by offering a few worked examples on things you might want to do to put

[Haskell-cafe] Cabal bug?

2010-01-11 Thread Henk-Jan van Tuyl
L.S., I had a strange response from Cabal: cabal upgrade hlint Resolving dependencies... cabal: cannot configure containers-0.3.0.0. It requires base =4.2 6 For the dependency on base =4.2 6 there are these packages: base-4.2.0.0. However none of them are available.

Re: [Haskell-cafe] Cabal bug?

2010-01-11 Thread Ivan Lazar Miljenovic
Henk-Jan van Tuyl hjgt...@chello.nl writes: I had a strange response from Cabal: cabal upgrade hlint I thought upgrade was disabled... what version of cabal-install do you have? Resolving dependencies... cabal: cannot configure containers-0.3.0.0. It requires base =4.2 6 For the

[Haskell-cafe] Re: Approaches to dependent types (DT)

2010-01-11 Thread Benjamin Franksen
pbrowne wrote: Dependent Types (DT) The purpose of dependent types (DT) is to allow programmers to specify dependencies between the parameters of a multiple parameter class. 'Dependent type' means result type (of a function) can depend on argument values. This is not (directly) supported in

[Haskell-cafe] short licensing question

2010-01-11 Thread Sebastian Fischer
Hello Café, when writing a Haskell library that uses two other Haskell libraries -- one licensed under BSD3 and one under LGPL -- what are allowed possibilities for licensing the written package? PublicDomain? BSD3? LGPL? Sebastian -- Underestimating the novelty of the future is a

Re: [Haskell-cafe] mtl and transformers

2010-01-11 Thread Valery V. Vorotyntsev
Bas van Dijk v.dijk@gmail.com wrote: I always make a ghci.sh bash script in each of my projects that calls ghci -hide-all-packages -package x -package y -package z. However a cabal ghci or cabal interactive command that does this automatically would be ideal. I see there already is a

Re: [Haskell-cafe] short licensing question

2010-01-11 Thread Don Stewart
sebf: Hello Café, when writing a Haskell library that uses two other Haskell libraries -- one licensed under BSD3 and one under LGPL -- what are allowed possibilities for licensing the written package? PublicDomain? BSD3? LGPL? Libraries don't link in other things as such -- the

Re: [Haskell-cafe] short licensing question

2010-01-11 Thread Svein Ove Aas
On Mon, Jan 11, 2010 at 2:08 PM, Don Stewart d...@galois.com wrote: sebf: Hello Café, when writing a Haskell library that uses two other Haskell libraries -- one licensed under BSD3 and one under LGPL -- what are allowed possibilities for licensing the written package? PublicDomain? BSD3?

Re: [Haskell-cafe] Re: Approaches to dependent types (DT)

2010-01-11 Thread pbrowne
Ben, I have added your input. Thanks for putting me right. Pat Functional Dependencies The purpose of functional dependencies (FD) is to allow programmers to specify dependencies between the parameters of a multiple parameter class. FD reduces the number of possible instances, or models of a

Re: [Haskell-cafe] short licensing question

2010-01-11 Thread Ketil Malde
Svein Ove Aas svein@aas.no writes: when writing a Haskell library that uses two other Haskell libraries -- one licensed under BSD3 and one under LGPL -- what are allowed possibilities for licensing the written package? Any resulting binaries might contain a mixture of such libraries, and

Re: [Haskell-cafe] Cabal bug?

2010-01-11 Thread Duncan Coutts
On Mon, 2010-01-11 at 13:33 +0100, Henk-Jan van Tuyl wrote: L.S., I had a strange response from Cabal: cabal upgrade hlint Resolving dependencies... cabal: cannot configure containers-0.3.0.0. It requires base =4.2 6 For the dependency on base =4.2 6 there are these

[Haskell-cafe] Update for type-level library (0.2.4)

2010-01-11 Thread Seyed Hosein Attarzadeh Niaki
Dear Haskell developers, A new version of the type-level library for type-level programming is pushed into the development repository and uploaded to the Hackage database. This is only a minor update to fix the compatibility issues with base 4, GHC=6.10 and cabal-install (not backward

Re: [Haskell-cafe] short licensing question

2010-01-11 Thread Andrey Sisoyev
Svein Ove Aas wrote: In this case, LGPL is a problem. It requires you to offer a way to re-link such binaries against new versions/implementations of the library, which in practice requires it to be either open source or dynamically linked. Don't understand that. Can't we just put a

Re: [Haskell-cafe] short licensing question

2010-01-11 Thread Tom Tobin
On Mon, Jan 11, 2010 at 6:58 AM, Sebastian Fischer s...@informatik.uni-kiel.de wrote: when writing a Haskell library that uses two other Haskell libraries -- one licensed under BSD3 and one under LGPL -- what are allowed possibilities for licensing the written package? PublicDomain? BSD3? LGPL?

[Haskell-cafe] ANN: chp-2.0.0, chp-plus-1.0.0

2010-01-11 Thread Neil Brown
Hi, I've just released version 2.0.0 of the Communicating Haskell Processes (CHP) message-passing concurrency library onto Hackage. The main change from 1.x is that I have split the functionality into two libraries: the core functionality remains in the chp package (now version 2.0.0), while

Re: [Haskell-cafe] short licensing question

2010-01-11 Thread Matthias-Christian Ott
On Mon, Jan 11, 2010 at 12:02:46PM -0600, Tom Tobin wrote: On Mon, Jan 11, 2010 at 6:58 AM, Sebastian Fischer s...@informatik.uni-kiel.de wrote: when writing a Haskell library that uses two other Haskell libraries -- one licensed under BSD3 and one under LGPL -- what are allowed

Re: [Haskell-cafe] short licensing question

2010-01-11 Thread Sebastian Fischer
On Jan 11, 2010, at 2:08 PM, Don Stewart wrote: Libraries don't link in other things as such -- the .cabal file is the only thing that ties them together -- so you can use whatever license you like. On Jan 11, 2010, at 7:02 PM, Tom Tobin wrote: I think in your case you can license the

Re: [Haskell-cafe] short licensing question

2010-01-11 Thread Jeremy Shaw
What reasons do people have to use a BSD license over a Public Domain license, for example with the license text from: http://www.lemur.com/pd-disclaimers.html ? Is the only difference that, with a BSD license, the copyright notice must be maintained? I've heard rumors that you can't

Re: [Haskell-cafe] short licensing question

2010-01-11 Thread wren ng thornton
Sebastian Fischer wrote: What reasons do people have to use a BSD license over a Public Domain license, for example with the license text from: http://www.lemur.com/pd-disclaimers.html ? Is the only difference that, with a BSD license, the copyright notice must be maintained? One important

[Haskell-cafe] Parsers (Parsec and Iteratee-based Parsers)

2010-01-11 Thread Günther Schmidt
Hi, are there any examples how to build parsers using the library in Oleg's iteratee package? I've been using parsec for almost all my parsing needs, in fact it was parsec that got me started with Haskell. I'd like to try to build a few parsers based on the left-fold-enumerator thingy and

Re: [Haskell-cafe] Parsers (Parsec and Iteratee-based Parsers)

2010-01-11 Thread Jason Dagit
2010/1/11 Günther Schmidt gue.schm...@web.de Hi, are there any examples how to build parsers using the library in Oleg's iteratee package? I've been using parsec for almost all my parsing needs, in fact it was parsec that got me started with Haskell. I think you should be in contact with

[Haskell-cafe] Haskell-iPhone mailing list?

2010-01-11 Thread Tom Tobin
Is there a mailing list for efforts to get Haskell running on the iPhone? As I've been maintaining an iPhone app for my employer (and nearly foaming at the mouth with hatred for Objective-C), I'd love to see a more sane option in this space. I've seen the wiki page [1], but I'm not aware of any

Re: [Haskell-cafe] Parsers (Parsec and Iteratee-based Parsers)

2010-01-11 Thread John Lato
2010/1/11 Jason Dagit da...@codersbase.com: 2010/1/11 Günther Schmidt gue.schm...@web.de Hi, are there any examples how to build parsers using the library in Oleg's iteratee package? I've been using parsec for almost all my parsing needs, in fact it was parsec that got me started with

Re: [Haskell-cafe] Parsers (Parsec and Iteratee-based Parsers)

2010-01-11 Thread Günther Schmidt
Hi John, thanks for responding. As I said I've been using Parsec quite a lot, but wonder if there is a different approach possible/feasible to parsing. Parsec (2x) isn't an online parser, ie, it doesn't produce a result before the whole parse is completed. There is AFAIK one alternative,

[Haskell-cafe] Tokenizing and Parsec

2010-01-11 Thread Günther Schmidt
Hi all, I've used Parsec to tokenize data from a text file. It was actually quite easy, everything is correctly identified. So now I have a list/stream of self defined Tokens and now I'm stuck. Because now I need to write my own parsec-token-parsers to parse this token stream in a

[Haskell-cafe] hackage build errors

2010-01-11 Thread Keith Sheppard
Hello Cafe, I noticed on my package's hackage page there is a build failure message: http://hackage.haskell.org/package/txt-sushi I don't know if these are real errors or not (I don't experience them on OS X and it's pure Haskell code) but I did poke around and noticed that some popular packages

Re: [Haskell-cafe] Tokenizing and Parsec

2010-01-11 Thread Uwe Hollerbach
Hi, Günther, you could write functions that pattern-match on various sequences of tokens in a list, you could for example have a look at the file Evaluator.hs in my scheme interpreter haskeem, or you could build up more-complex data structures entirely within parsec, and for this I would point you

Re: [Haskell-cafe] Parsers (Parsec and Iteratee-based Parsers)

2010-01-11 Thread Jeff Zaroyko
2010/1/12 Günther Schmidt gue.schm...@web.de: Hi John, thanks for responding. As I said I've been using Parsec quite a lot, but wonder if there is a different approach possible/feasible to parsing. Parsec (2x) isn't an online parser, ie, it doesn't produce a result before the whole parse is

Re: [Haskell-cafe] hackage build errors

2010-01-11 Thread Jonathan Daugherty
I noticed on my package's hackage page there is a build failure message: http://hackage.haskell.org/package/txt-sushi I don't know if these are real errors or not (I don't experience them on OS X and it's pure Haskell code) but I did poke around and noticed that some popular packages on