On Thu, Mar 4, 2010 at 18:05, Stephen Tetley wrote:
> Hi Tom
>
> Hmm, its seems I'm due to eat my hat...
>
> To me though, the judgement makes that insistence that using an API is
> making a derivative work. I can't see how that squares up.
That has, AFAIU, been the intention of the GPL all along
On Fri, Mar 5, 2010 at 12:53 AM, Kevin Jardine wrote:
> I'm a Haskell newbie but long time open source developer and I've been
> following this thread with some interest.
>
> The GPL is not just a license - it is a form of social engineering and social
> contract. The idea if I use the GPL is th
2010/3/5 Magnus Therning :
> On Thu, Mar 4, 2010 at 18:05, Stephen Tetley wrote:
>> Hi Tom
>>
>> Hmm, its seems I'm due to eat my hat...
>>
>> To me though, the judgement makes that insistence that using an API is
>> making a derivative work. I can't see how that squares up.
>
> That has, AFAIU, b
On Fri, Mar 5, 2010 at 08:55, minh thu wrote:
> 2010/3/5 Magnus Therning :
>> On Thu, Mar 4, 2010 at 18:05, Stephen Tetley
>> wrote:
>>> Hi Tom
>>>
>>> Hmm, its seems I'm due to eat my hat...
>>>
>>> To me though, the judgement makes that insistence that using an API is
>>> making a derivative w
Ertugrul Soeylemez schrieb:
As a side note: I have found that many people don't understand the
filterM-based solution. That's because many people don't understand the
list monad and the power of the monadic interface. So if you work in a
group, either don't write code like this or preferably ex
Hi Magnus
The 'Why not LGPL' doesn't cover the particular argument here:
> using the ordinary GPL for a library makes it available only for free
> programs.
The particular concern we have here is quite specific, considering
(-->) to be a dependency, can Hackage libraries under BSD3 that depend
On 5 March 2010 09:38, Stephen Tetley wrote:
>
> Similar BSD3 is a GPL compatible library, so this dependency chain
> would be legal:
>
> [2] App --> libGPL --> libBSD
>
Typo above - should be
Similar BSD3 is a GPL compatible __license__, so this dependency chain
would be legal:
[2] App --> l
Curt Sampson schrieb:
Understanding the general techniques for this sort of thing and seeing
where you're likely to need to apply them isn't all that difficult, once
you understand the problem. (It's probably much easier if you don't have
to work it out all for yourself, as I did. Someone needs t
On Fri, Mar 5, 2010 at 09:38, Stephen Tetley wrote:
> Hi Magnus
>
> The 'Why not LGPL' doesn't cover the particular argument here:
>
>> using the ordinary GPL for a library makes it available only for free
>> programs.
>
> The particular concern we have here is quite specific, considering
> (-->)
On 5 March 2010 09:53, Magnus Therning wrote:
> Now I'm even more confused. How is hosting on Hackage an issue in [1]?
Hi Magnus
The issue arouse when Tom Tobin spotted Hackage was hosting hakyll
(libBSD3) that depends in pandoc (libGPL). Hakyll's author is allowed
to privately write any code
On 5 March 2010 09:53, Magnus Therning wrote:
Now I'm even more confused. How is hosting on Hackage an issue in
[1]?
The GPL specifically (and only) applies when code is "distributed" to
others outside the originating authors' organisation.
Hackage is a means of distributing such code.
On Fri, Mar 5, 2010 at 2:19 AM, Stephen Tetley wrote:
> On 5 March 2010 09:53, Magnus Therning wrote:
>
> > Now I'm even more confused. How is hosting on Hackage an issue in [1]?
>
> Hi Magnus
>
> The issue arouse when Tom Tobin spotted Hackage was hosting hakyll
> (libBSD3) that depends in pand
As always I'm still not a lawyer, so this is not legal advice... but here's
how I think it works. If you need to talk to a lawyer to get this cleared
up, do it.
On Fri, Mar 5, 2010 at 2:30 AM, Malcolm Wallace <
malcolm.wall...@cs.york.ac.uk> wrote:
> On 5 March 2010 09:53, Magnus Therning wrote
On Thu, Mar 4, 2010 at 7:11 PM, Richard O'Keefe wrote:
> I assumed that CBL meant Call By Location
Commercial Brewer's License? I think it's about beer!
>
>
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/ma
rings.
Can someone help me
__ Information from ESET NOD32 Antivirus, version of virus signature
database 4917 (20100305) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
___
Haskell-Cafe mailing list
Ha
Consider taking this to the haskell-beginners list.
On Fri, Mar 5, 2010 at 4:32 AM, Pradeep Wickramanayake wrote:
> Hi,
>
> Im self learner in Haskell. And im stuck in a small place which I tried
> searching in google but couldn't find
> Proper answer
>
> I have some values in a string, Im remov
I'm implementing a variant of Prolog in Haskell (yes, I know others
already exist...) and am looking to solve the following issues:
(1) I need to translate anonymous variables "_" into unique variable
names. Data.Unique does not give me a printable identifier. Is there
another package that does t
> The GPL specifically (and only) applies when code is "distributed"
to others outside the originating authors' organisation.
I'm pretty sure it says nothing about organizations.
http://www.gnu.org/licenses/gpl-faq.html#InternalDistribution
Is making and using multiple copies within one org
Hi,
Im self learner in Haskell. And im stuck in a small place which I tried
searching in google but couldn't find
Proper answer
I have some values in a string, Im removing them one by one from the
string
(word by word) and I want to put them in a tuple. Because it contain
Integers and Strings
On 04/03/2010 22:01, Neil Brown wrote:
Jesper Louis Andersen wrote:
On Thu, Mar 4, 2010 at 8:35 PM, Neil Brown wrote:
CML is indeed the library that has the most markedly different
behaviour.
In Haskell, the CML package manages to produce timings like this for
fairly
simple benchmarks:
%GC ti
Background: X is a library distributed under the terms of the GPL.
Y is another library which calls external functions in the API of
X, and requires X to compile. X and Y have different authors.
1) Can the author of Y legally distribute the *source* of Y under a
non-GPL license, such as th
On 04/03/2010 09:14, Curt Sampson wrote:
However: now that Simon's spent a bunch of time experimenting with the
runtime's GC settings and found a set that's mitigated much of our
problem, other things are pushing their way up my priority list. Between
that and an upcoming holiday, I'm probably n
Robert Rothenberg wrote:
> I'm implementing a variant of Prolog in Haskell (yes, I know others
> already exist...) and am looking to solve the following issues:
>
> (1) I need to translate anonymous variables "_" into unique variable
> names. Data.Unique does not give me a printable identifier.
On 05/03/2010 05:03, wren ng thornton wrote:
Simon Marlow wrote:
So it would be pretty easy to provide something like
disableMajorGC, enableMajorGC :: IO ()
Of course leaving it disabled too long could be bad, but that's your
responsibility.
It seems like it'd be preferable to have an interf
Hi,
oh boy it took me a while to find this post again.
Perhaps not exactly. I build monads left and right, but that's because
I don't understand much else. :-) Before you get all hung up on them,
though, I recommend reading "The Typeclassopedia,"[1], which will
introduce you to all of the mona
On Fri, 2010-03-05 at 01:42 -0700, Luke Palmer wrote:
> On Fri, Mar 5, 2010 at 12:53 AM, Kevin Jardine wrote:
> > I'm a Haskell newbie but long time open source developer and I've been
> > following this thread with some interest.
> >
> > The GPL is not just a license - it is a form of social eng
Maciej Piechotka writes:
> BTW. What if package have multiply licenses? Cabal seems to not express
> following situations:
> - It is dual licensed
> - Library is LGPL but helper program is GPL
> - Part of library is on striker license but part of it is for example
> public domain (so it would be w
Nick Bowler wrote:
> I meant to say that "fromRational . toRational" is not appropriate for
> converting values from one floating point type to another floating
> point type.
It gets even worse: My GPU doesn't know about doubles and its floats
aren't IEEE, at all (not that Haskell Doubles are gu
Stefan Monnier wrote:
> > Note that this is a safety measure for the submitter: If the code
> > is, indeed, released to the public, it is (dual licesed) GPL,
> > anyway, even if that might not have been the intent.
>
> No. If the submitter did not explicitly release his code under the
> GPL, th
Simon Marlow wrote:
import Control.Concurrent
import Control.Concurrent.CML
import Control.Monad
main :: IO ()
main = do let numChoices = 2
cs <- replicateM numChoices channel
mapM_ forkIO [replicateM_ (10 `div` numChoices) $ sync $ transmit
c () | c <- cs]
replicateM_ 10 $ sync $ choo
> I'm not sure I want to follow WWRD all the way. I do want events, for
> example mouse clicks (for which there doesn't seem to be any logical
> behavior representation). As you note the pull-based approach does a
> lot more work in those cases than seems necessary.
Events are indispensable for pra
2010/3/5 Günther Schmidt :
> When you say that you use monads to the left and right, do you mean using
> pre-defined monad instances, or do you construct your own, ie. define
> something to be an instance of a monad and then write codes using that
> instance?
Hi Günther
One view of Monads (in t
David Leimbach wrote:
> Yes the author can privately license code to himself under any
> license he wants, but when he distributes code based on GPL'd code,
> it has to be GPL'd. That's why people hate this license, or love this
> license. For all the freedom it talks about it's awfully restrict
Does this release include a new Haskell Platform for Snow Leopard as well?
Best,
On 4 March 2010 18:30, Don Stewart wrote:
> bugfact:
> > Using GHC 6.12.1 on Windows currently is hard, since one must compile
> > the latest version of cabal-install, which is a nightmare to do for a
> > typical w
On 05/03/2010 13:45, Neil Brown wrote:
Simon Marlow wrote:
import Control.Concurrent
import Control.Concurrent.CML
import Control.Monad
main :: IO ()
main = do let numChoices = 2
cs <- replicateM numChoices channel
mapM_ forkIO [replicateM_ (10 `div` numChoices) $ sync $ transmit
c () | c <
I'd like to support Hackage and GHC 6.8 with one source distribution.
The enclosed Cabal file would do the trick if Hackage would simply
evaluate the Cabal file using the default flag values. Instead, it
chokes on a hack required to support GHC 6.8. The directory
containing the autogen files has
On Fri, Mar 5, 2010 at 4:07 PM, Johan Tibell wrote:
> I think I would use the module system for namespacing rather than using
> function prefixes. Like so:
> import Text.Html as E
> import qualified Text.Html.Attribute as A
> E.html ! [A.class_ "my-class"] (... more combinators ...)
>
> (Assuming
Johan Tibell wrote:
> = A high-performance HTML combinator library using Data.Text =
>
May I add
* Conceptual compatiblity with the W3C DOM. The library shoud be
designed in a way that allows a thin / automatically generated
wrapping layer to support DOM operations, where applicable.
?
It
Ivan Lazar Miljenovic wrote:
> For example, see the license for cpphs [1]; on Hackage it's listed as
> "LGPL" whereas the library is LGPL and the program is GPL.
>
Output from GPL programs is licensed under whatever license its input
is licensed under (that is, the GPL doesn't say anything and fo
On 14:30 Fri 05 Mar , Achim Schneider wrote:
> Nick Bowler wrote:
> > I meant to say that "fromRational . toRational" is not appropriate for
> > converting values from one floating point type to another floating
> > point type.
>
> It gets even worse: My GPU doesn't know about doubles and its
Stephen Tetley wrote:
>
> To work with monads in Haskell its not ignoble simple to decide what
> effect or combination of effects you want and use the relevant monad
> (for a single effect) or build a transformer (for multiple effects).
... or use the "free term algebra" approach outlined in
ht
As luke requested
Here is the codes and some more brief explanation. Please help me
getItemFile :: IO String
getItemFile =
do
test <- readFile
"input.txt"
On Fri, Mar 5, 2010 at 4:16 AM, Malcolm Wallace <
malcolm.wall...@cs.york.ac.uk> wrote:
> > The GPL specifically (and only) applies when code is "distributed" to
>> others outside the originating authors' organisation.
>>
>>
>> I'm pretty sure it says nothing about organizations.
>>
>
> http://www
On Fri, Mar 5, 2010 at 3:46 PM, Achim Schneider wrote:
> Johan Tibell wrote:
>
> > = A high-performance HTML combinator library using Data.Text =
> >
>
> May I add
>
> * Conceptual compatiblity with the W3C DOM. The library shoud be
> designed in a way that allows a thin / automatically generat
> This is a general problem when working with RULES-based
> optimisations. Here is an example of what happens: suppose we have
>
> foo :: Vector Int -> Vector Int
> foo xs = map (+1) xs
>
> Now, GHC will generate a nice tight loop for this but if in a
> different module, we have something like th
Ozgur Akgun writes:
> Does this release include a new Haskell Platform for Snow Leopard as
> well?
It should, yes.
G
--
Gregory Collins
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Johan Tibell wrote:
> On Fri, Mar 5, 2010 at 3:46 PM, Achim Schneider
> wrote:
>
> > Johan Tibell wrote:
> >
> > > = A high-performance HTML combinator library using Data.Text =
> > >
> >
> > May I add
> >
> > * Conceptual compatiblity with the W3C DOM. The library shoud be
> > designed in a
ot;
>
> | otherwise = [x] ++ sortList2 xs
>
>
>
> Im breaking word by word from this above function
>
>
>
> Now I need to send it to a tuple. Can someone help me how to do it. Is this
> possible. Using recursion im checking each word till “,” occurs
>
If it uses only one type for elements and perhaps another for
attributes, Uniplate should fit any traversal needs perfectly. E.g.,
getElementByID:
listToMaybe [ e | e <- universe doc, elemID e == target_id ]
or similar. This is doing essentially a depth-first search, so if
this is a common op
Pending an explicit response from the SFLC, I decided to ask the FSF
themselves what they thought of the Hackage/cabal situation.
Specifically, I asked this:
> There is a website, 'Hackage' (http://hackage.haskell.org) that hosts
> source code packages for Haskell libraries and programs. The site
On Thu, Mar 4, 2010 at 11:34 AM, Tom Tobin wrote:
> After politely pestering them again, I finally heard back from the
> Software Freedom Law Center regarding our GPL questions (quoted
> below).
>
> I exchanged several emails to clarify the particular issues; in short,
> the answers are "No", "No"
This seems really confusing.
It would imply that if I write a library that is designed to talk to some
part of the linux kernel API (which is GPL'd) then I'd have to release my
library under the GPL. And anything that used my libraries API would need to
be GPL'd too, etc...
Which would mean that e
On Fri, Mar 5, 2010 at 2:59 PM, Job Vranish wrote:
> This seems really confusing.
>
> It would imply that if I write a library that is designed to talk to some
> part of the linux kernel API (which is GPL'd) then I'd have to release my
> library under the GPL. And anything that used my libraries A
On Fri, Mar 05, 2010 at 12:29:15PM +, Malcolm Wallace wrote:
>>> Background: X is a library distributed under the terms of the GPL. Y
>>> is another library which calls external functions in the API of X,
>>> and requires X to compile. X and Y have different authors.
>>>
>>> 1) Can the autho
Hi Kevin,
I just wanted to say that's a very nice analogy. Thanks!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi,
On Fri, Mar 05, 2010 at 01:16:18AM +0300, Bulat Ziganshin wrote:
> >> [...] The SFLC holds that a
> >> library that depends on a GPL'd library must in turn be GPL'd, even if
> >> the library is only distributed as source and not in binary form.
>
> > Was this a general statement
>
> yes. it'
GHC 6.12 changed the format of the internal package database. Only
cabal-install 0.8 can read this format properly. Version 0.8 is only
available on Hackage, the binaries available are cabal-install 0.6.2.
I assume part of the platform release effort is to create new
cabal-install binaries.
On 4
The value-supply package [1] provides means to generate unique values
of any kind. It uses IORefs under the hood, but provides a pure
interface for it (an infinite tree). Because of this, you need to be
a bit careful how you construct your supply when using multiple
threads. The same techniques
Matthias Kilian wrote:
> On Fri, Mar 05, 2010 at 09:26:08PM +, Simon Marlow wrote:
> > >Switching GHC to a completely new build system written completely
> > >in Haskell would be the most stupid idea ever. (You know why)
> >
> > You're referring to bootstrapping, I presume?
>
> Yes.
>
As i
Well the precompiled one provided on doesn't seem to work with GHC
6.12.1, you get an error.
So yes, it would be nice to at least update the precompiled version on
the website :-)
On Thu, Mar 4, 2010 at 7:41 PM, Andrew Coppin
wrote:
> Peter Verswyvelen wrote:
>>
>> Using GHC 6.12.1 on Windows cu
I'd also like to point to Nix[3] and Cabal[4] for ideas, and I bet
most
of the dependency analysis could be ripped from the latter.
Hrrm, sadly Cabal has no dependency analysis at all - everything must
be specified by the author of the .cabal file, both modules and
packages.
Regards,
> For me, this presents a few problems. I don't know where to get
> the SCM_CREDENTIALS constant, I have no idea what flags to use
> (does the Network module help with that?), I don't know how to
> get from a list of file descriptors or a tuple to a Ptr, and
> perhaps most importantly, I have no i
Thomas Schilling wrote:
GHC 6.12 changed the format of the internal package database. Only
cabal-install 0.8 can read this format properly. Version 0.8 is only
available on Hackage, the binaries available are cabal-install 0.6.2.
I assume part of the platform release effort is to create new
cab
Andrew Coppin writes:
> Is there a reason why a new precompiled binary can't be put up for
> download?
I would assume because no-one has supplied one (Duncan doesn't use
Windows; don't know about the rest of the cabal-install developers).
--
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanM
Am Donnerstag, 4. März 2010 18:57:03 schrieb MightyByte:
> Interesting. It seems to me that the only solution for the
> BSD-oriented haskell community is to practically boycott GPL'd
> libraries. From what I understand, this is exactly what the LGPL is
> for. I've known the basic idea behind the
Malcolm Wallace wrote:
> > I'd also like to point to Nix[3] and Cabal[4] for ideas, and I bet
> > most
> > of the dependency analysis could be ripped from the latter.
>
> Hrrm, sadly Cabal has no dependency analysis at all - everything
> must be specified by the author of the .cabal file, both
malcolm.wallace:
>> I'd also like to point to Nix[3] and Cabal[4] for ideas, and I bet
>> most
>> of the dependency analysis could be ripped from the latter.
>
> Hrrm, sadly Cabal has no dependency analysis at all - everything must be
> specified by the author of the .cabal file, both modules an
> To my knowledge, the LGPL only allows *linking* with non-(L)GPL
> software. But GHC doesn't just link but performs massive
> cross-module inlining. So in my opinion, LGPL is not a solution,
> too. Use BSD3!
But that massive cross-module inlining happens at your computer,
where the rights allowe
On Sat, 2010-03-06 at 00:28 +0100, Wolfgang Jeltsch wrote:
> Am Donnerstag, 4. März 2010 18:57:03 schrieb MightyByte:
> > Interesting. It seems to me that the only solution for the
> > BSD-oriented haskell community is to practically boycott GPL'd
> > libraries. From what I understand, this is ex
For settings we are using -N7 -A8m -qg.
I don't know if they are really the optimal values but I haven't found a
significant improvement on these yet. I tried -qb but that was slow. I
tried larger values of A but that didn't seem to make a big difference. Also
-N6 didn't make much difference. S
70 matches
Mail list logo