Re: [Haskell-cafe] What about adding a wiki for each haskell project?

2009-12-12 Thread Marc Weber
Hi Wren, Thank you for taking the time for replying. Can you reread the wiki section labeled "implementation details"? I don't want hackage to be the wiki. I only want hackage to host a link to the wiki. There maybe reasons to host the wiki on hackage. Eg hackage does know when a package get's

Re: [Haskell-cafe] What about adding a wiki for each haskell project?

2009-12-12 Thread Thomas Hartman
patch-tag.com has wikis now. They are some buggy behaviors I still need to address so I haven't blogged or otherwise drawn attention to it (arrrg) but my hope is that, quite soon, this will be quite slick and quite useful. 2009/12/11 Marc Weber > hackage is success because: > a) many (most) peo

Re: [Haskell-cafe] What about adding a wiki for each haskell project?

2009-12-12 Thread wren ng thornton
Marc Weber wrote: Hackage is missing one feature: It is very static. I mean if you have a patch or a question or a comment you have to lookup the darcs repository, write the patch then contact the author and wait.. If the author replies everything is fine. If he doesn't you don't know what to do

Re: [Haskell-cafe] Re: [darcs-users] Iteratees, streams, and mmap

2009-12-12 Thread Jason Dagit
On Sat, Dec 12, 2009 at 1:37 PM, Johann Höchtl wrote: > > > On Dec 12, 7:13 pm, Jason Dagit wrote: > > Hi Heinrich, > > > > On Sat, Dec 12, 2009 at 2:42 AM, Heinrich Apfelmus < > > > > > > > > apfel...@quantentunnel.de> wrote: > > > Jason Dagit wrote: > > > > My next experiment will be to find wa

Re: [Haskell-cafe] Hint causes GHCi linker error under Windows

2009-12-12 Thread Daniel Gorín
Hi, Martin Do you have a complete example one can use to reproduce this behavior? (preferably a short one! :P) In any case, I'm resending your message to the glasgow-haskell-users list to see if a ghc guru recognize the error message. It is strange that the problem only manifests on Windo

Re: [Haskell-cafe] GHC 6.12 status and features

2009-12-12 Thread Rafael Gustavo da Cunha Pereira Pinto
THANKS!! Just in time for Christmas!! On Sat, Dec 12, 2009 at 12:22, Max Bolingbroke wrote: > 2009/12/12 Rafael Gustavo da Cunha Pereira Pinto < > rafaelgcpp.li...@gmail.com>: > > I know I should probably be asking to the GHC list, but is there any > update > > on 6.12 since October? Any prob

[Haskell-cafe] Re: [darcs-users] Iteratees, streams, and mmap

2009-12-12 Thread Johann Höchtl
On Dec 12, 7:13 pm, Jason Dagit wrote: > Hi Heinrich, > > On Sat, Dec 12, 2009 at 2:42 AM, Heinrich Apfelmus < > > > > apfel...@quantentunnel.de> wrote: > > Jason Dagit wrote: > > > My next experiment will be to find ways to express "take this operation > > and > > > apply it to a stream without

[Haskell-cafe] writing graphs with do-notation

2009-12-12 Thread Soenke Hahn
Hi! Some time ago, i needed to write down graphs in Haskell. I wanted to be able to write them down without to much noise, to make them easily maintainable. I came up with a way to define graphs using monads and the do notation. I thought this might be interesting to someone, so i wrote a small

[Haskell-cafe] Token parsers in parsec consume trailing whitespace

2009-12-12 Thread Edward Z. Yang
I recently ran into a nasty little bug where token parsers in parsec consume trailing whitespace, which were consuming newlines and thus bamboozling a higher-level "sepBy" combinator. I replaced my instances of 'natural' with 'read <$> many1 digit', but this gave rise to the following questions:

Re: [Haskell-cafe] Preserving data type information

2009-12-12 Thread Andrey Popp
Hi, Stephen. Thanks a lot — HList paper gave me a good overview of possible soultions. For the first try I will stuck with Data.Dynamic. On Sat, Dec 12, 2009 at 7:18 PM, Stephen Tetley wrote: > Hi Andrey > > Dynamic types are a possibility, if you want to handle an 'open set' of types: > > http:

[Haskell-cafe] Re: [darcs-users] Iteratees, streams, and mmap

2009-12-12 Thread Jason Dagit
Hi Heinrich, On Sat, Dec 12, 2009 at 2:42 AM, Heinrich Apfelmus < apfel...@quantentunnel.de> wrote: > Jason Dagit wrote: > > My next experiment will be to find ways to express "take this operation > and > > apply it to a stream without letting the stream leak". One implication is > > that gzReadF

Re: [Haskell-cafe] GHC 6.12 status and features

2009-12-12 Thread Tom Tobin
On Sat, Dec 12, 2009 at 8:22 AM, Max Bolingbroke wrote: > 2009/12/12 Rafael Gustavo da Cunha Pereira Pinto : >> I know I should probably be asking to the GHC list, but is there any update >> on 6.12 since October? Any probable release date? > > It looks like haskell.org just acquired this page, th

Re: [Haskell-cafe] What about adding a wiki for each haskell project?

2009-12-12 Thread Keith Sheppard
What about if during the "Checking a Cabal package" upload step there was a check to see if there was a homepage in the cabal file? If there is no homepage we could have something like: "Your cabal file does not contain a link to a project homepage. You may want to add a haskell wiki link as your

Re: [Haskell-cafe] Re: ANN: hakyll-0.1

2009-12-12 Thread Tom Tobin
On Sat, Dec 12, 2009 at 4:54 AM, minh thu wrote: > I'd like to point out a possible situation, that makes the questions > even more interesting. > > Say the author of Y (the BSD licensed code) is used to install its > code, Y, along of its requisite X (under GPL) to customer locations. > Note that

Re: [Haskell-cafe] What about adding a wiki for each haskell project?

2009-12-12 Thread Marc Weber
Hi Antoine. One of the main goals is to have a place to a put information when you're not the maintainer. Of course I can put everything into *my* cabal files. I don't want to do this for projects I don't maintain. I'd like to ask maintainers first. But while this question - reply cycle is in prog

Re: [Haskell-cafe] Preserving data type information

2009-12-12 Thread Stephen Tetley
Hi Andrey Dynamic types are a possibility, if you want to handle an 'open set' of types: http://www.haskell.org/ghc/docs/6.10.3/html/libraries/base/Data-Dynamic.html & http://people.cs.uu.nl/arthurb/dynamic.html Although I don't see your use case as needing heterogeneous lists, section 2 of the

[Haskell-cafe] Preserving data type information

2009-12-12 Thread Andrey Popp
I am writing URL parsing library which works the following way: - User have a spec of URL, like this: > f :: String > f = "/archive/ - There is data type and parser for specs: > data Value = IntegerValue Integer | CharValue Char > parseSpec :: Parser (Parser (Map String Value)) - So after p

Re: [Haskell-cafe] What about adding a wiki for each haskell project?

2009-12-12 Thread Antoine Latter
On Fri, Dec 11, 2009 at 6:00 PM, Marc Weber wrote: > > Hackage is missing one feature: > It is very static. I mean if you have a patch or a question or a comment > you have to lookup the darcs repository, write the patch then contact > the author and wait.. If the author replies everything is fine

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-12 Thread Matthew Pocock
> x <- take_while some_condition some_list > > and > > x <- takeWhile someCondition someList x <- take-while some-condition some-list As someone who is dyslexic, I find both camelCase and dashes far easier to read than underscores. I find it hard to count the words in the underscore version - th

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-12 Thread Daniel Fischer
Am Freitag 11 Dezember 2009 01:20:55 schrieb Richard O'Keefe: > On Dec 11, 2009, at 3:00 AM, Daniel Fischer wrote: > > Am Mittwoch 09 Dezember 2009 23:54:22 schrieb Richard O'Keefe: > >> Given the amazinglyUglyAndUnreadably baStudlyCaps namingStyle that > >> went into Haskell forNoApparentReasonTha

Re: [Haskell-cafe] GHC 6.12 status and features

2009-12-12 Thread Max Bolingbroke
2009/12/12 Rafael Gustavo da Cunha Pereira Pinto : > I know I should probably be asking to the GHC list, but is there any update > on 6.12 since October? Any probable release date? It looks like haskell.org just acquired this page, though it's not yet linked to from anywhere else: http://haskell.

Re: [Haskell-cafe] Re: Why?

2009-12-12 Thread pbrowne
pbrowne wrote: > 2) What, if anything, prevents the execution of a Haskell term from > being a proof in equational logic? I have done some checking to try to answer my own question. The answer *seems* to be that there *seems* to be three things that prevent Haskell terms being true equations. Any

Re: [Haskell-cafe] Re: Parallel foldl doesn't work correctly

2009-12-12 Thread Ben Millwood
On Sat, Dec 12, 2009 at 10:08 AM, Maciej Piechotka wrote: > If operation is associative it can be done using divide et impera > spliting list in half and operating on it pararerlly then split in half > etc. I implemented something like this as an exercise: http://benmachine.co.uk/parconcat.hs I

Re[2]: [Haskell-cafe] Re: ANN: hakyll-0.1

2009-12-12 Thread Bulat Ziganshin
Hello Stephen, Saturday, December 12, 2009, 3:32:09 PM, you wrote: > the GPL would apply. Distribution being the key point, as at that > your mileage may vary, etcetera. Similar the limits on 'client' would > need some definition vis-a-vis distribution, one person would surely > be fine, extrapol

[Haskell-cafe] Re: What about adding a wiki for each haskell project?

2009-12-12 Thread Marc Weber
Excerpts from Duncan Coutts's message of Sat Dec 12 03:26:30 +0100 2009: > On Sat, 2009-12-12 at 01:00 +0100, Marc Weber wrote: > > hackage is success because: > > a) many (most) people do use it (by uploading packages) > > b) it is a comprehensive list of availible packages if not the most > >

Re: [Haskell-cafe] Fwd: [BostonHaskell] Next meeting: December 17th at MIT (32-G882)

2009-12-12 Thread Doug Burke
--- On Sat, 12/12/09, Bulat Ziganshin wrote: > From: Bulat Ziganshin > Subject: Re: [Haskell-cafe] Fwd: [BostonHaskell] Next meeting: December 17th > at MIT (32-G882) > To: "Ravi Nanavati" > Cc: haskell-cafe@haskell.org > Date: Saturday, December 12, 2009, 3:40 AM > Hello Ravi, > > Saturday

Re: [Haskell-cafe] Re: ANN: hakyll-0.1

2009-12-12 Thread Stephen Tetley
Hi Thu That would sound like 'private use' to me[1] which is permitted by the GPL. If the client later wanted to *distribute* the agglomerated work the GPL would apply. Distribution being the key point, as at that stage the client is no longer using the agglomeration privately. Best wishes Steph

Re: [Haskell-cafe] "--" comments

2009-12-12 Thread Raynor Vliegendhart
On Sat, Dec 12, 2009 at 5:34 AM, Brandon S. Allbery KF8NH wrote: > > > On Dec 11, 2009, at 23:30 , michael rice wrote: > > > > I'm just noticing that "--" comments don't seem to work properly when the > > first character following them is a '*'. > > I believe the spec only treats "-- " as a comme

[Haskell-cafe] wiki in hackage

2009-12-12 Thread Andrew U. Frank
i think to add a wiki to each package is a great idea. as a default, it could be started automatically by uploading to hackage and filled with the readme.txt file (if availble) in the tar uploaded. if it is empty and exist, it is a point to check for when a package does not install immediately.

Re: [Haskell-cafe] Re: ANN: hakyll-0.1

2009-12-12 Thread minh thu
2009/12/12 Stephen Tetley : > 2009/12/12 Tom Tobin : > >> >> 1) Can the author of Y legally distribute the *source* of Y under a >> non-GPL license, such as the 3-clause BSD license or the MIT license? > > Hello Tom > > If the answer to this isn't yes, I'll buy a hat and eat it... > > As source, Y

[Haskell-cafe] Re: Parallel foldl doesn't work correctly

2009-12-12 Thread Maciej Piechotka
On Sat, 2009-12-12 at 02:57 +, Philip Beadling wrote: > Hi, > > Can anyone put me right here. I am trying to use a setup similar to > parMap to spark each valuation in a list in parallel, where the > resulting (evaluated) list is folded to produce a final single result. > > Having done the o

Re: [Haskell-cafe] Parallel foldl doesn't work correctly

2009-12-12 Thread Michael Lesniak
Hello, > This compiles and if I monitor my CPUs it starts to use both cores, but > after approx 10 seconds, one core drops to low rate (I'm using a 2 core > machine). Just a shot in the dark: what OS are you using? I have had some problems with GHC 6.10.4 and Ubuntu Karmic Koala{1[, which are fixe

Re: [Haskell-cafe] Re: ANN: hakyll-0.1

2009-12-12 Thread Stephen Tetley
2009/12/12 Tom Tobin : > > 1) Can the author of Y legally distribute the *source* of Y under a > non-GPL license, such as the 3-clause BSD license or the MIT license? Hello Tom If the answer to this isn't yes, I'll buy a hat and eat it... As source, Y (the BSD3 library) can surely be distribute

Re: [Haskell-cafe] Fwd: [BostonHaskell] Next meeting: December 17th at MIT (32-G882)

2009-12-12 Thread Bulat Ziganshin
Hello Ravi, Saturday, December 12, 2009, 9:48:28 AM, you wrote: > Based on the responses to my previous message, our featured presenter > will be Ryan Newton who will talk about the Intel Concurrent > Collections for Haskell. awesome! you may try it on many typical unix text processing tasks, su

[Haskell-cafe] hledger 0.7 released

2009-12-12 Thread Simon Michael
I'm pleased to announce hledger 0.7. Thanks to Marko Kocić who contributed many fixes for hlint warnings. To install/upgrade: cabal update && cabal install hledger [-fweb] [- fvty] Documentation: http://hledger.org Release notes: * price history support (first cut): P directives now wo

[Haskell-cafe] Pure extremism (was: Re: Why?)

2009-12-12 Thread Luke Palmer
On Fri, Dec 11, 2009 at 7:07 PM, Jason Dusek wrote: > 2009/12/11 Luke Palmer : >> The idea being that any code that is pure could be evaluated >> anywhere with a very simple interpreter. If you have pure >> code, you can trace it back and evaluate it in a sandbox where >> you don't need a C runtim