[Haskell-cafe] 1p function for NonEmpty

2011-11-15 Thread Yitzchak Gale
Hi Edward, I started @telling you on #haskell, but it has become too long for that. :) The following functions would be nice additions to Data.List.NonEmpty in the semigroups package: replicate1p :: Whole n = n - a - NonEmpty a take1p :: Whole n = n - NonEmpty a - NonEmpty a splitAt1p :: Whole

Re: [Haskell-cafe] 1p function for NonEmpty

2011-11-15 Thread Yitzchak Gale
I wrote: The following functions would be nice additions to Data.List.NonEmpty in the semigroups package... Here are two more requests: maximum, minimum :: Ord a = NonEmpty a - a Two more unsafe Prelude functions become safe! Thanks, Yitz ___

[Haskell-cafe] Problems with installing the correct version of process. Help?

2011-11-15 Thread Blaine
Hi everyone. I'm new to haskell (venturing over from python land); i can't figure this one problem out. This has been incredibly difficult to solve, and it is quite discouraging! i'm trying to get berp up and running ( https://github.com/bjpop/berp/). berp-libs installed fine, berp-compiler is

Re: [Haskell-cafe] Problems with installing the correct version of process. Help?

2011-11-15 Thread Brandon Allbery
On Tue, Nov 15, 2011 at 14:56, Blaine frik...@gmail.com wrote: ** Missing header file: runProcess.h* [blaine@macbook:~/Dropbox/src/berp/compiler Tue Nov 08] 93$ ls /usr/lib/ghc-6.12.1/process-1.0.1.2/include/ HsProcessConfig.h *runProcess.h* Notice it's found in the files for the other

[Haskell-cafe] ST not strict enough?

2011-11-15 Thread Jason Dusek
Hi All, I'm having some trouble with memory usage in rebuilding a ByteString with some sequences escaped. I thought I'd try vectors. However, it seems that even a relatively simple function, one that places all the bytes of a ByteString in to a vector, uses a great deal of memory. I've pulled

Re: [Haskell-cafe] Problems with installing the correct version of process. Help?

2011-11-15 Thread Antoine Latter
On Tue, Nov 15, 2011 at 1:56 PM, Blaine frik...@gmail.com wrote: Hi everyone. I'm new to haskell (venturing over from python land); i can't figure this one problem out. This has been incredibly difficult to solve, and it is quite discouraging! i'm trying to get berp up and running

Re: [Haskell-cafe] ST not strict enough?

2011-11-15 Thread Roman Cheplyaka
* Jason Dusek jason.du...@gmail.com [2011-11-15 20:08:48+] I'm having some trouble with memory usage in rebuilding a ByteString with some sequences escaped. I thought I'd try vectors. However, it seems that even a relatively simple function, one that places all the bytes of a ByteString in

Re: [Haskell-cafe] ST not strict enough?

2011-11-15 Thread Johan Tibell
Hi Jason, On Tue, Nov 15, 2011 at 12:08 PM, Jason Dusek jason.du...@gmail.com wrote: Should I be annotating my functions with strictness, for the vector reference, for example? Should I be using STUArrays, instead? From

Re: [Haskell-cafe] Problems with installing the correct version of process. Help?

2011-11-15 Thread Blaine
Great question. How does one ignore the warning? Blaine On Tue, Nov 15, 2011 at 4:02 PM, Antoine Latter aslat...@gmail.com wrote: On Tue, Nov 15, 2011 at 1:56 PM, Blaine frik...@gmail.com wrote: Hi everyone. I'm new to haskell (venturing over from python land); i can't figure this one

Re: [Haskell-cafe] Problems with installing the correct version of process. Help?

2011-11-15 Thread Antoine Latter
On Tue, Nov 15, 2011 at 3:34 PM, Blaine frik...@gmail.com wrote: Great question. How does one ignore the warning? By doing whatever you would have done next had you not received the warning :-) Such as cabal build or the like. Antoine ___

Re: [Haskell-cafe] Problems with installing the correct version of process. Help?

2011-11-15 Thread Daniel Fischer
On Tuesday 15 November 2011, 22:34:17, Blaine wrote: Great question. How does one ignore the warning? Not. process and directory are boot packages, required by ghc and indirectly by many of the packages you install(ed). Having multiple versions of these spells trouble and breakage. Read

[Haskell-cafe] deepseq-1.2.0.1 missing Data.Map instance

2011-11-15 Thread Henry Laxen
Dear Group, Today I tried to compile snap 0.6 with ghc 7.2, (using virthualenv, which is GREAT by the way) and got the following error somewhere along the way got a message about aeson-native requires deepseq-1.1.0.2 but I had deepseq-1.2.0.1 installed. So I unpacked aeson-native-0.3.3.1 in my

Re: [Haskell-cafe] deepseq-1.2.0.1 missing Data.Map instance

2011-11-15 Thread Stephen Tetley
Hello Henry I think it is a case of the dependency changing recently from deepseq depending on containers to containers depending on deepseq. Thus you want to check you are using compatible versions of deepseq and containers. ___ Haskell-Cafe mailing

Re: [Haskell-cafe] deepseq-1.2.0.1 missing Data.Map instance

2011-11-15 Thread Daniel Fischer
On Tuesday 15 November 2011, 23:26:04, Henry Laxen wrote: So I guess my question is: Is there a reason that the map instance was removed from deepseq-1.2.0.1, Yes. and can we please put it back in? No. The NFData instance has been moved to the containers package, where it can be more

Re: [Haskell-cafe] Problems with installing the correct version of process. Help?

2011-11-15 Thread Blaine
So this is hilarious. This whole time I thought 'warning' meant 'error'. I rebuilt all of ghc and the platform with 7.0.3, and did it again. Now it complains about containers. Went ahead and installed anyway (duh!). Now it looks like it worked. I'll check back if it didn't work. I can't believe

Re: [Haskell-cafe] deepseq-1.2.0.1 missing Data.Map instance

2011-11-15 Thread Henry Laxen
Daniel Fischer daniel.is.fischer at googlemail.com writes: For your unfortunate combination, consider reverting to a prior deepseq version, or manually provide the instance where needed (I recommend the former). Thank you Daniel, for clearing that up. Best wishes, Henry Laxen

Re: [Haskell-cafe] deepseq-1.2.0.1 missing Data.Map instance

2011-11-15 Thread Bas van Dijk
On 15 November 2011 23:50, Daniel Fischer daniel.is.fisc...@googlemail.com wrote: The change is already in the latest released deepseq version, but will only be in the containers version to be released with ghc-7.4. The change is already in the released containers-0.4.2.0. So the only thing

Re: [Haskell-cafe] deepseq-1.2.0.1 missing Data.Map instance

2011-11-15 Thread Ivan Lazar Miljenovic
On 16 November 2011 10:23, Bas van Dijk v.dijk@gmail.com wrote: On 15 November 2011 23:50, Daniel Fischer daniel.is.fisc...@googlemail.com wrote: The change is already in the latest released deepseq version, but will only be in the containers version to be released with ghc-7.4. The

[Haskell-cafe] Build error with network/snap w/win7 haskell platform

2011-11-15 Thread Adam Turoff
I'm trying to build snap-0.6 on win7/x64 with the current 64-bit haskell platform. I have the mingw compilers from the platform in $PATH, and I can get the network and snap-server modules to build. But snap-0.6 fails: [18 of 31] Compiling Snap.Snaplet.Internal.Types (

Re: [Haskell-cafe] Is SmallCheck maintained?

2011-11-15 Thread wren ng thornton
On 11/14/11 12:54 PM, Roman Cheplyaka wrote: Hi Cafe, Does anyone currently work on Test.SmallCheck? I see the following problems: 1. SC doesn't have a repository, issue tracker etc. 2. It is not integrated with popular test frameworks 3. API should be better documented I'm willing to work

[Haskell-cafe] A Mascot

2011-11-15 Thread heathmatlock
I liked Go's mascot, and I figure it couldn't hurt to have our own. I spent the past hour making this: http://i.imgur.com/Mib6Q.png What do you think? -- Heath Matlock +1 256 274 4225 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread Ivan Lazar Miljenovic
On 16 November 2011 12:01, heathmatlock heathmatl...@gmail.com wrote: I liked Go's mascot, and I figure it couldn't hurt to have our own. I spent the past hour making this: http://i.imgur.com/Mib6Q.png What do you think? Um do we _really_ need a mascot? And no offence to your

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread Diego Olivier Fernandez Pons
I don't see how a lamb relates to Haskell :/ The lamb is named Da. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread Brandon Allbery
On Tue, Nov 15, 2011 at 20:06, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Um do we _really_ need a mascot? And no offence to your artistic abilities, but even if we did, I don't see how a lamb relates to Haskell :/ Lamb-da, obviously. -- brandon s allbery

[Haskell-cafe] Second CfP: International Conference on Test and Proofs (TAP 2012), Next Deadline: 2011-12-14

2011-11-15 Thread Achim D. Brucker
(Apologies for duplicates) * Less than one month until the deadline *** for submitting abstract to TAP 2012*** *

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread heathmatlock
On Tue, Nov 15, 2011 at 7:06 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Um do we _really_ need a mascot? I don't think a programming community every really needs a mascot, just nice to have. And no offence to your artistic abilities, but even if we did, I don't see

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread heathmatlock
On Tue, Nov 15, 2011 at 7:39 PM, Diego Olivier Fernandez Pons dofp.hask...@gmail.com wrote: I don't see how a lamb relates to Haskell :/ The lamb is named Da. That works too. I couldn't resist: http://i.imgur.com/5222B.png See http://en.wikipedia.org/wiki/Knights_of_the_Lambda_Calculus

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread Jeremy Shaw
I thought we already had a mascot? http://www.haskell.org/pipermail/haskell/attachments/20090401/9fb8fa05/haskell-mascot.jpg :p - jeremy On Tue, Nov 15, 2011 at 7:01 PM, heathmatlock heathmatl...@gmail.com wrote: I liked Go's mascot, and I figure it couldn't hurt to have our own. I spent the

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread John Meacham
People tend to concentrate on the lambda which cooresponds to the functional aspect of haskell when designing logos. Not nearly enough attention is paid to the other striking feature, the laziness. The 'bottom' symbol _|_ should feature prominently. The two most defining features of haskell are

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread Albert Y. C. Lai
On 11-11-15 08:01 PM, heathmatlock wrote: http://i.imgur.com/Mib6Q.png Curry had a little lamb, little lamb, little lamb... ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread heathmatlock
On Tue, Nov 15, 2011 at 10:18 PM, John Meacham j...@repetae.net wrote: People tend to concentrate on the lambda which cooresponds to the functional aspect of haskell when designing logos. Not nearly enough attention is paid to the other striking feature, the laziness. The 'bottom' symbol _|_

[Haskell-cafe] (no subject)

2011-11-15 Thread Benjamin L. Russell
http://elikat.com/blogs/wp-content/plugins/index1.php ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread heathmatlock
Da the lamb, I like that. -- Heath Matlock +1 256 274 4225 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread heathmatlock
Last image for the night, http://i.imgur.com/CE9Tk.png On Tue, Nov 15, 2011 at 11:03 PM, heathmatlock heathmatl...@gmail.comwrote: Da the lamb, I like that. -- Heath Matlock +1 256 274 4225 -- Heath Matlock +1 256 274 4225 ___ Haskell-Cafe

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread Karol Samborski
2011/11/16 heathmatlock heathmatl...@gmail.com: Last image for the night, http://i.imgur.com/CE9Tk.png Great! I like it very much. Best, Karol Samborski ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] How to Create Programming Language with Haskell?

2011-11-15 Thread Shogo Sugamoto
Hi,Cafe. I want to create my own Programming Language with Haskell, and I learn how to do it. I read: WikiBooks of Write Yourself a Scheme in 48 Hours, Real World Haskell of Chapter Using Parsec, Source of HJS, Book of Introduction of Functional Programming Using Haskell. Ok,What is another

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread José Pedro Magalhães
In general, I like the idea of having a mascot, and think that something along these lines will be great. Cheers, Pedro On Wed, Nov 16, 2011 at 01:01, heathmatlock heathmatl...@gmail.com wrote: I liked Go's mascot, and I figure it couldn't hurt to have our own. I spent the past hour making

Re: [Haskell-cafe] A Mascot

2011-11-15 Thread Benjamin Almeida
I vote for an invisible mascot, all there is to see is the orange speech bubble with smart code ;-) Liebe Grüße ben On 16 Nov 2011, at 08:45, José Pedro Magalhães j...@cs.uu.nl wrote: In general, I like the idea of having a mascot, and think that something along these lines will be great.