Re: [Haskell-cafe] [Cabal-devel] Cabal license combinations

2011-02-10 Thread Ketil Malde
Dan Knapp dan...@gmail.com writes: There is a legal distinction between static and dynamic linking, Well, the obvious distinction is that a dynamically linked executable doesn't actually contain any code from its libraries, while a statically linked one does. In particular, they assert that

Re: [Haskell-cafe] [Cabal-devel] Cabal license combinations

2011-02-10 Thread Stephen Tetley
On 9 February 2011 23:35, Dan Knapp dan...@gmail.com wrote: [SNIP] I believe this means that if we have a package named hs-save-the-whales that is under the GPL, and a front-end package hs-redeem-them-for-valuable-cash-prizes which makes use of the functionality in hs-save-the-whales, the

Re: [Haskell-cafe] [Haskell] Problems with (projects|community).haskell.org

2011-02-10 Thread Dominique Devriese
Also, is there any news yet on a procedure for community members with accounts on projects.haskell.org to get access to them again? My ssh publickey login is no longer being accepted. I had an account mainly for hosting the darcs repo and the website for my project grammar-combinators. The website

Re: [Haskell-cafe] [Haskell] Problems with (projects|community).haskell.org

2011-02-10 Thread Ivan Lazar Miljenovic
On 10 February 2011 20:03, Dominique Devriese dominique.devri...@cs.kuleuven.be wrote: Also, is there any news yet on a procedure for community members with accounts on projects.haskell.org to get access to them again? My ssh publickey login is no longer being accepted. I had an account mainly

Re: [Haskell-cafe] Cabal license combinations

2011-02-10 Thread Duncan Coutts
On Wed, 2011-02-09 at 03:47 +1300, Vivian McPhail wrote: license: Foo, Bar Could this be computed automatically from the source files by Cabal? I would not want to rely on that. Looking specifically at hmatrix, there are three kinds of modules i) bindings to GSLGPL

Re: [Haskell-cafe] [Cabal-devel] Cabal license combinations

2011-02-10 Thread Duncan Coutts
On Wed, 2011-02-09 at 18:35 -0500, Dan Knapp wrote: I haven't heard anyone mention this yet, and it's a biggie, so I guess I'd better de-lurk and explain it. The issue is this: There is a legal distinction between static and dynamic linking, or at least some licenses (the GPL is the one I'm

Re: [Haskell-cafe] [Cabal-devel] Cabal license combinations

2011-02-10 Thread Stefan Kersten
On 10.02.11 12:12, Duncan Coutts wrote: We are already working on a feature that will show the full set of licenses that the end user must comply with (a patch has been submitted and it's been through one round of review so far). In your example that would mean you expect the set to be {BSD}

Re: [Haskell-cafe] Building Plaftorm 2010 2 on 64bit Linux

2011-02-10 Thread Dušan Kolář
Well, that was probably the main problem :-( Unfortunately, even if, after performing all the stuff once again, I made platform configured, make ended in compilation of happy with old story: Configuring happy-1.18.5... ./Setup build Preprocessing executables for happy-1.18.5... Building

[Haskell-cafe] ghci command line execution

2011-02-10 Thread Thomas Davie
A while ago I remember someone showing me some tool, I *think* ghci that allowed you to pass it a function of type String - String as an input, and have it simply run that function on stdin (presumably using interact) to achieve useful things like this... $ cat myFile.txt | ghci -e 'unlines .

Re: [Haskell-cafe] ghci command line execution

2011-02-10 Thread aditya siram
Possibly HSH[1]? [1] http://hackage.haskell.org/package/HSH-2.0.3 On Thu, Feb 10, 2011 at 8:44 AM, Thomas Davie tom.da...@gmail.com wrote: A while ago I remember someone showing me some tool, I *think* ghci that allowed you to pass it a function of type String - String as an input, and have

Re: [Haskell-cafe] Cabal license combinations

2011-02-10 Thread Duncan Coutts
On Thu, 2011-02-10 at 19:00 +1300, Vivian McPhail wrote: It seems then that a package should be the least restrictive combination of all the licenses in all the contained modules. Omit the words least restrictive and I think you are correct. To combine licences, just aggregate them.

Re: [Haskell-cafe] [Cabal-devel] Cabal license combinations

2011-02-10 Thread Duncan Coutts
On Thu, 2011-02-10 at 12:44 +0100, Stefan Kersten wrote: On 10.02.11 12:12, Duncan Coutts wrote: We are already working on a feature that will show the full set of licenses that the end user must comply with (a patch has been submitted and it's been through one round of review so far). In

[Haskell-cafe] MissingH won't upgrade

2011-02-10 Thread Andrew Pennebaker
Specs: - cabal-install 0.8.2 - Cabal 1.8.0.6 - GHC 6.12.3 - Mac OS X 10.6.6 - MacBook Pro 5,1 $ cabal upgrade missingh Resolving dependencies... Configuring regex-base-0.93.2... Preprocessing library regex-base-0.93.2... Building regex-base-0.93.2... [1 of 4] Compiling

Re: [Haskell-cafe] Building Plaftorm 2010 2 on 64bit Linux

2011-02-10 Thread Christian Maeder
Am 10.02.2011 13:15, schrieb Dušan Kolář: Well, that was probably the main problem :-( Unfortunately, even if, after performing all the stuff once again, I made platform configured, make ended in compilation of happy with old story: Configuring happy-1.18.5... ./Setup build

Re: [Haskell-cafe] Building Plaftorm 2010 2 on 64bit Linux

2011-02-10 Thread Dušan Kolář
I have the following ghc script: cat ghc #!/bin/sh exedir=/usr/local/lib/ghc-6.12i386/lib/ghc-6.12.3 exeprog=ghc-stage2 executablename=$exedir/$exeprog datadir=/usr/local/lib/ghc-6.12i386/share bindir=/usr/local/lib/ghc-6.12i386/bin topdir=/usr/local/lib/ghc-6.12i386/lib/ghc-6.12.3

Re: [Haskell-cafe] MissingH won't upgrade

2011-02-10 Thread Stephen Tetley
Maybe the Zord64_HARD.lhs is at fault for not using qualified module names? I can't see why this would be the case though, but at look at the source shows it doesn't. In future, please could you put some information about your problem ** at the top ** of your message rather than burying it many

Re: [Haskell-cafe] [Cabal-devel] Cabal license combinations

2011-02-10 Thread Chris Smith
On Thu, 2011-02-10 at 08:59 +0100, Ketil Malde wrote: I disagree - the linked executable must, but not the wrapper by itself. It's source code, i.e. text, thus a creative work, and therefore covered by copyright - on its own. You're certainly right from a legal standpoint. But being right

Re: [Haskell-cafe] Building Plaftorm 2010 2 on 64bit Linux

2011-02-10 Thread Christian Maeder
Well, happy lists CPP as extensions so maybe adding: -pgmP $pgmgcc -E -undef -traditional helps. C. Am 10.02.2011 16:53, schrieb Dušan Kolář: I have the following ghc script: cat ghc #!/bin/sh exedir=/usr/local/lib/ghc-6.12i386/lib/ghc-6.12.3 exeprog=ghc-stage2

Re: [Haskell-cafe] [Cabal-devel] Cabal license combinations

2011-02-10 Thread Antoine Latter
On Thu, Feb 10, 2011 at 10:04 AM, Chris Smith cdsm...@gmail.com wrote: On Thu, 2011-02-10 at 08:59 +0100, Ketil Malde wrote: I disagree - the linked executable must, but not the wrapper by itself. It's source code, i.e. text, thus a creative work, and therefore covered by copyright - on its

Re: [Haskell-cafe] MissingH won't upgrade

2011-02-10 Thread Antoine Latter
It looks a bit suspicious that the haskell98 module is installed in your user-level package database. Maybe that's okay, but I wouldn't try it myself. Do you know how that happened? What does `ghc-pkg list --user` show? Antoine On Thu, Feb 10, 2011 at 9:24 AM, Andrew Pennebaker

Re: [Haskell-cafe] [Cabal-devel] Cabal license combinations

2011-02-10 Thread Malcolm Wallace
On 10 Feb 2011, at 17:38, Antoine Latter wrote: So no, the instant of compilation is not when the transitive dependencies kick in, it is the publication of compiled binaries, which in my mind is a pretty specialized case. This is possibly the most important point to emphasise, of which many

Re: [Haskell-cafe] ghci command line execution

2011-02-10 Thread Thedward Blevins
On Thu, Feb 10, 2011 at 08:44, Thomas Davie tom.da...@gmail.com wrote: A while ago I remember someone showing me some tool, I *think* ghci that allowed you to pass it a function of type String - String as an input, and have it simply run that function on stdin (presumably using interact) to

[Haskell-cafe] Data.ByteString.Lazy.ByteString vs Data.ByteString.Lazy.Internal.ByteString

2011-02-10 Thread C K Kashyap
Hi, I noticed that even though I declare the type of a function in my code as Data.ByteString.Lazy.ByteString ... when I check it out in ghci using :t, it shows this - Data.ByteString.Lazy.Internal.ByteString Is this expected? Regards, Kashyap ___

Re: [Haskell-cafe] Data.ByteString.Lazy.ByteString vs Data.ByteString.Lazy.Internal.ByteString

2011-02-10 Thread Don Stewart
ckkashyap: Hi, I noticed that even though I declare the type of a function in my code as� Data.ByteString.Lazy.ByteString ... when I check it out in ghci using :t, it shows this -�Data.ByteString.Lazy.Internal.ByteString Is this expected? Yep, the 'Internal' module is where

Re: [Haskell-cafe] Data.ByteString.Lazy.ByteString vs Data.ByteString.Lazy.Internal.ByteString

2011-02-10 Thread C K Kashyap
Yep, the 'Internal' module is where the type is defined, and then re-exported through the regular module. Thanks Don ... good to know. Regards, Kashyap ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Haskell Summers of Code retrospective (updated for 2010)

2011-02-10 Thread Sterling Clover
On Feb 9, 2011, at 6:18 PM, Gwern Branwen wrote: 2 years ago in February 2009, I wrote up a history of Summers of Code through 2008 (http://www.haskell.org/pipermail/haskell-cafe/2009-February/055489.html). But the Wheel turns, and years come and pass, leaving memories that fade into 404s;

[Haskell-cafe] How to write type-level lambda-abstractions at the value level

2011-02-10 Thread oleg
HList programming -- as programming with too revealing type systems in general -- is quite tedious. Since the type of an HList value reveals its structure, including the number of the elements and their sequence, we often have to write an HList algorithm twice. We have to program the operation on

Re: [Haskell-cafe] Cabal license combinations

2011-02-10 Thread wren ng thornton
On 2/7/11 9:42 AM, Malcolm Wallace wrote: To combine licences, just aggregate them. There is no lattice of subsumption; no more or less restrictive ordering. It's simple: you must obey all of them. In the event that my comments on the previous thread were a source of confusion, I agree with

Re: [Haskell-cafe] Byte Histogram

2011-02-10 Thread wren ng thornton
On 2/8/11 6:00 AM, Ketil Malde wrote: This does seem a bit excessive. As a start, I don't remember anyone asking for control over (un)boxedness, so hopefully we could jettison that part of it? Uh, you mean like in IOUArrays, the UNPACK pragma, or -funbox-strict-fields? Unboxing is an