[Haskell-cafe] PEPM'12 Call for participation

2011-11-23 Thread Simon Thompson
ACM SIGPLAN 2012 Workshop on Partial Evaluation and Program Manipulation http://www.program-transformation.org/PEPM12 January 23-24, 2012. Philadelphia, PA, USA (co-located with POPL'12) Call For Participation Online registration is open at

[Haskell-cafe] XML modification

2011-11-23 Thread Andrew Coppin
Hi guys. I've got a folder with about 80 XML files in it. I want to take each file and make specific modifications to it. (Mostly just finding specific attributes and changing their values to make then all consistent.) Now I guess it wouldn't take me /that/ long to code something from

[Haskell-cafe] Fwd: XML modification

2011-11-23 Thread Dmitry Olshansky
Personally I prefer xml-enumerator. You can work with xml-stream or with DOM through cursor (like XPath). I think that in your case working with stream is preferrable. You can just make an Enumeratee like import qualified Data.Enumerator.List as EL myEnum = EL.map f where f

Re: [Haskell-cafe] XML modification

2011-11-23 Thread Jon Fairbairn
Andrew Coppin andrewcop...@btinternet.com writes: I've got a folder with about 80 XML files in it. I want to take each file and make specific modifications to it. (Mostly just finding specific attributes and changing their values to make then all consistent.) Now I guess it wouldn't take me

Re: [Haskell-cafe] A Mascot

2011-11-23 Thread John Lato
From: Michael Orlitzky mich...@orlitzky.com On 11/22/11 16:52, heathmatlock wrote: Wasn't planning on it, but I saw some emails on the topic, so I worked on what I presented earlier: Anyway, creative design-by-committee is doomed, so my advice is to ignore this and all other advice =) +1

Re: [Haskell-cafe] XML modification

2011-11-23 Thread Andrew Coppin
On 23/11/2011 10:14 AM, Jon Fairbairn wrote: Andrew Coppinandrewcop...@btinternet.com writes: I've got a folder with about 80 XML files in it. I want to take each file and make specific modifications to it. HaXml Mmm. That looks very promising... which gives some idea of the flavour.

[Haskell-cafe] ANN: OpenCL 1.0.2.2 package

2011-11-23 Thread Luis Cabellos
Hello, all. I update the OpenCL package with a better error handle using Control.Exception. Thanks all comments in the previous version, and issues in github. # Where to get it * Hackage page (http://hackage.haskell.org/package/OpenCL) * Repository (https://github.com/zhensydow/opencl) * Bugs

Re: [Haskell-cafe] lambda.fm How can I use this to help the Haskell community?

2011-11-23 Thread heathmatlock
Stream podcasts on functional programming. On Tue, Nov 22, 2011 at 5:39 AM, Ben Wright bwright...@gmail.com wrote: A while back I somehow managed to get the domain name, lambda.fm and I am simply creating this post to get some ideas from the community on what it could be used for to help the

Re: [Haskell-cafe] lambda.fm How can I use this to help the Haskell community?

2011-11-23 Thread Tom Murphy
Or set up a system like this: http://www.linux.fm/ :) amindfv / Tom On Wed, Nov 23, 2011 at 11:38 AM, heathmatlock heathmatl...@gmail.comwrote: Stream podcasts on functional programming. On Tue, Nov 22, 2011 at 5:39 AM, Ben Wright bwright...@gmail.com wrote: A while back I somehow managed

Re: [Haskell-cafe] XML modification

2011-11-23 Thread Andrew Coppin
On 23/11/2011 12:58 PM, Andrew Coppin wrote: On 23/11/2011 10:14 AM, Jon Fairbairn wrote: HaXml Mmm. That looks very promising... which gives some idea of the flavour. OK. So it looks like processXmlWith is the function I want, if I'm going to read one file and create another from it. So

Re: [Haskell-cafe] A Mascot

2011-11-23 Thread heathmatlock
On Wed, Nov 23, 2011 at 1:44 AM, Moritz Fischer hask...@pure-entropy.orgwrote: If you want people to identify even faster with Da, start by uploading some CC licenced SVGs. One thing that helps a lot imho is to allow other people to be creative with it, too. Done. Darcs:

Re: [Haskell-cafe] A Mascot

2011-11-23 Thread heathmatlock
On Wed, Nov 23, 2011 at 12:31 PM, heathmatlock heathmatl...@gmail.comwrote: On Wed, Nov 23, 2011 at 1:44 AM, Moritz Fischer hask...@pure-entropy.orgwrote: If you want people to identify even faster with Da, start by uploading some CC licenced SVGs. One thing that helps a lot imho is to

Re: [Haskell-cafe] lambda.fm How can I use this to help the Haskell community?

2011-11-23 Thread Edward Amsden
There's plenty of recorded research and workshop talks on Haskell, having a well-organized collection of them would definitely be helpful. Podcasts could be added, certainly. On Wed, Nov 23, 2011 at 12:00 PM, Tom Murphy amin...@gmail.com wrote: Or set up a system like this: http://www.linux.fm/

[Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread heathmatlock
Question: Do you want a mascot? Answers: Yes No -- This is an attempt to figure out if this idea is going anywhere. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Ivan Lazar Miljenovic
No On 24 November 2011 06:11, heathmatlock heathmatl...@gmail.com wrote: Question: Do you want a mascot? Answers: Yes No -- This is an attempt to figure out if this idea is going anywhere. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread MigMit
No On 23 Nov 2011, at 23:11, heathmatlock wrote: Question: Do you want a mascot? Answers: Yes No -- This is an attempt to figure out if this idea is going anywhere. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Scott Lawrence
No -- Scott Lawrence ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Proposed change to mime-mail

2011-11-23 Thread Erik Hesselink
Hi all, I've found and solved a problem with mime-mail, and Michael Snoyman asked me to send a request for feedback to -cafe, so here goes. In short, the issue is with address headers containing 'special' (non-ascii) characters. In mime-mail, these are automatically encoded according to RFC

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread José Pedro Magalhães
Yes On Wed, Nov 23, 2011 at 19:11, heathmatlock heathmatl...@gmail.com wrote: Question: Do you want a mascot? Answers: Yes No -- This is an attempt to figure out if this idea is going anywhere. ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Alexander Bernauer
Yes PS: Why not using Doodle for the poll? signature.asc Description: Digital signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Gábor Lehel
I don't want a bad mascot. I do want a good mascot. If you must count me down for one side or the other, count this as a yes. On Wed, Nov 23, 2011 at 8:11 PM, heathmatlock heathmatl...@gmail.com wrote: Question: Do you want a mascot? Answers: Yes No -- This is an attempt to figure out if

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Thomas Davie
Yes Reasoning: Haskell has the image of being unfriendly, assenine, filled with crazy symbols, and the dreaded MATHS! A mascot would say you know what, this is fun! if (*ra4 != 0xffc78948) { return false; } On 23 Nov 2011, at 19:40, Alexander Bernauer wrote: Yes PS: Why not using

[Haskell-cafe] type level strings?

2011-11-23 Thread Evan Laforge
So suppose I have a simple data type: data Thing { thing_id :: ThingId , thing_stuff :: Stuff } newtype ThingId = ThingId String Stuff is a Monoid, and Things need to be combined as well, so: instance Monoid Thing where mappend (Thing id1 stuff1) (Thing id2 stuff2) | id1 /=

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread heathmatlock
On Wed, Nov 23, 2011 at 1:40 PM, Alexander Bernauer alex-hask...@copton.net wrote: Yes PS: Why not using Doodle for the poll? Email is an easy way to make sure nobody votes twice. -- Heath Matlock +1 256 274 4225 ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Alejandro Serrano Mena
Yes 2011/11/23 heathmatlock heathmatl...@gmail.com On Wed, Nov 23, 2011 at 1:40 PM, Alexander Bernauer alex-hask...@copton.net wrote: Yes PS: Why not using Doodle for the poll? Email is an easy way to make sure nobody votes twice. -- Heath Matlock +1 256 274 4225

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Paul R
Yes If some people don't like it, they won't use it. I doubt it will find its way in highly technical haskell core team, but it could appear for fun here and there in web material. For example, I think we could have 3 variants of it, reflecting the haskell level (beginner, confirmed, guru).

Re: [Haskell-cafe] Quickcheck research

2011-11-23 Thread Jonathan Fischoff
which makes me think that Arbitrary isn't the right set of abstractions for controlling coverage of the value space. I agree with you Wren. I think what is needed is a library for expressing the distribution of values for a given type. I can see several ways of specifying distributions,

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Karol Samborski
2011/11/23 heathmatlock heathmatl...@gmail.com: Question: Do you want a mascot? Answers: Yes No -- This is an attempt to figure out if this idea is going anywhere. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Alberto G. Corona
{^_^} ||| 2011/11/23 Alejandro Serrano Mena trup...@gmail.com Yes 2011/11/23 heathmatlock heathmatl...@gmail.com On Wed, Nov 23, 2011 at 1:40 PM, Alexander Bernauer alex-hask...@copton.net wrote: Yes PS: Why not using Doodle for the poll? Email is an easy way to make sure

Re: [Haskell-cafe] Poll: Do you want a mascot? -- please stop this

2011-11-23 Thread Giovanni Tirloni
On Wed, Nov 23, 2011 at 5:52 PM, heathmatlock heathmatl...@gmail.comwrote: On Wed, Nov 23, 2011 at 1:40 PM, Alexander Bernauer alex-hask...@copton.net wrote: Yes PS: Why not using Doodle for the poll? Email is an easy way to make sure nobody votes twice. 1. It's unlikely to get

Re: [Haskell-cafe] Poll: Do you want a mascot? -- please stop this

2011-11-23 Thread Krzysztof Skrzętnicki
I second this. One way is to use Forms from Google Docs. 1. They have been used with success before for similar pools 2. Can provide more elaborate questions 3. Automatically put results into a spreadsheet, which is useful 4. Protect against double-voters (sort of) 5. No spam Best regards,

[Haskell-cafe] Current Haskell report URL

2011-11-23 Thread Tom Murphy
Is there a reason that the Haskell 2010 report is in a subdirectory of haskell.org/onlinereport (which currently points to the Haskell98 standard)? http://www.haskell.org/onlinereport/ -- Haskell98 http://www.haskell.org/onlinereport/haskell2010/ -- Haskell2010 If it's for historical

Re: [Haskell-cafe] A Mascot

2011-11-23 Thread David Barbour
I don't like the lamb at all. But I like the idea of a language mascot. I really like Adam Chlipala's spidurweb: http://www.impredicative.com/ur/ Maybe a lambdacat can volunteer. ;-) Regards, Dave ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Erik de Castro Lopo
heathmatlock wrote: Question: Do you want a mascot? No. I also really think this poll should have been in a web site somewhere and not on this list. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/

Re: [Haskell-cafe] Proposed change to mime-mail

2011-11-23 Thread Erik de Castro Lopo
Erik Hesselink wrote: Hi all, I've found and solved a problem with mime-mail, and Michael Snoyman asked me to send a request for feedback to -cafe, so here goes. In short, the issue is with address headers containing 'special' (non-ascii) characters. In mime-mail, these are automatically

Re: [Haskell-cafe] Poll: Do you want a mascot? -- please stop this

2011-11-23 Thread heathmatlock
On Wed, Nov 23, 2011 at 2:25 PM, Giovanni Tirloni gtirl...@sysdroid.comwrote: 1. It's unlikely to get feedback from the larger Haskell community 2. It floods people with email they don't care (unless they care to keep track of the results) 3. One can just as easily create throw-away emails,

Re: [Haskell-cafe] A Mascot

2011-11-23 Thread Ivan Lazar Miljenovic
On 24 November 2011 09:10, David Barbour dmbarb...@gmail.com wrote: I don't like the lamb at all. But I like the idea of a language mascot. I really like Adam Chlipala's spidurweb: That to me is more of a logo than a mascot. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] A Mascot

2011-11-23 Thread David Barbour
On Wed, Nov 23, 2011 at 2:53 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 24 November 2011 09:10, David Barbour dmbarb...@gmail.com wrote: I don't like the lamb at all. But I like the idea of a language mascot. I really like Adam Chlipala's spidurweb: That to me is more

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Conrad Parker
I wouldn't mind getting a lamb-astronaut tshirt with a lambda-bind logo on it for my kid, and maybe next month a lion-skateboarder with a lambda-bind on his deck, and then maybe something with a dinosaur. I guess I don't really want a mascot either, but I like this artwork. Conrad. On 24

Re: [Haskell-cafe] type level strings?

2011-11-23 Thread Holger Reinhardt
You can do this with phantom types, i.e.: data Thing a = Thing Stuff instance Monoid (Thing a) where mappend (Thing stuff1) (Thing stuff2) = Thing (stuff1 `mappend` stuff2) mempty = Thing mempty data ID1 data ID2 thing1 :: Thing ID1 thing1 = Thing Stuff thing2 :: Thing ID2

Re: [Haskell-cafe] type level strings?

2011-11-23 Thread Evan Laforge
On Wed, Nov 23, 2011 at 4:03 PM, Holger Reinhardt hreinha...@gmail.com wrote: You can do this with phantom types, i.e.: data Thing a = Thing Stuff instance Monoid (Thing a) where   mappend (Thing stuff1) (Thing stuff2) = Thing (stuff1 `mappend` stuff2)   mempty = Thing mempty data ID1

Re: [Haskell-cafe] type level strings?

2011-11-23 Thread Julian Beaumont
On Thu, Nov 24, 2011 at 10:06 AM, Evan Laforge qdun...@gmail.com wrote: Well yes, but the key feature is that the IDs are arbitrary strings. And they're not knowable at compile time, since they are read from user input... You can still use phantom types for this, you just need existentials as

Re: [Haskell-cafe] Quickcheck research

2011-11-23 Thread Jason Dagit
On Tue, Nov 22, 2011 at 9:42 AM, wren ng thornton w...@freegeek.org wrote: On 11/22/11 6:09 AM, Macías López wrote: Hello: I'm a Master's student in Computer Science. I have to make a project involving some research, I'm very interested in Quickcheck and I wonder if there are some areas

Re: [Haskell-cafe] Quickcheck research

2011-11-23 Thread Jacques Carette
On 11-11-23 08:28 PM, Jason Dagit wrote: On a similar line of reasoning, I've wondered if Perlin style noise generation could be applied to get a sort of fuzzing effect. This would be more interesting for cases where writing instances of arbitrary is hard to do but test cases do exist. Apply

Re: [Haskell-cafe] type level strings?

2011-11-23 Thread Evan Laforge
On Wed, Nov 23, 2011 at 4:25 PM, Julian Beaumont jp.beaum...@theonionknight.com wrote: On Thu, Nov 24, 2011 at 10:06 AM, Evan Laforge qdun...@gmail.com wrote: Well yes, but the key feature is that the IDs are arbitrary strings. And they're not knowable at compile time, since they are read from

Re: [Haskell-cafe] Poll: Do you want a mascot? -- please stop this

2011-11-23 Thread heathmatlock
I closed the poll, it's showing 51% no and 50% yes, 129 to 128 respectively. I also found out you can vote as many times as you want without restriction, with no IP logging whatsoever. This is why I don't like putting polls on places where users regularly use anonymity for their own agendas, e.g.

Re: [Haskell-cafe] Poll: Do you want a mascot? -- please stop this

2011-11-23 Thread heathmatlock
Before sleeping, I would like to point out as of right now there are 12 up votes and 5 down votes, 70% yes and 30% no for the topic on Reddit. It doesn't necessarily reflect the view on the question being posed, but it seems about right from my discussions. With that, I will try to refrain from

[Haskell-cafe] Polls on Haskellers.com

2011-11-23 Thread Michael Snoyman
I noticed the recent thread about mascots, and trying to get accurate polling information. Don't consider this email to say I think we need safeguards against a poll on mascots (are people *really* trying to rig the election on this???), but I thought this might be a good features for

Re: [Haskell-cafe] Polls on Haskellers.com

2011-11-23 Thread heathmatlock
Well that was a quick response. I think it's silly the idea that someone would cast more votes than one on an election for this, but I can't trust a poll where someone can continually click yes or no over and over. I like your idea. On Thu, Nov 24, 2011 at 12:05 AM, Michael Snoyman

Re: [Haskell-cafe] Current Haskell report URL

2011-11-23 Thread Colin Adams
On 23 November 2011 22:02, Tom Murphy amin...@gmail.com wrote: The current impression that we give is that Haskell98 is the current standard, and Haskell2010 isn't compiler-supported. Indeed, but yesterday there was a post on beginners where the OP said they didn't want to use extensions,

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Jeroen Weijers
Yes 2011/11/24 Conrad Parker con...@metadecks.org: I wouldn't mind getting a lamb-astronaut tshirt with a lambda-bind logo on it for my kid, and maybe next month a lion-skateboarder with a lambda-bind on his deck, and then maybe something with a dinosaur. I guess I don't really want a mascot

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Colin Adams
No. On 23 November 2011 19:11, heathmatlock heathmatl...@gmail.com wrote: Question: Do you want a mascot? Answers: Yes No -- This is an attempt to figure out if this idea is going anywhere. ___ Haskell-Cafe mailing list