Re: [Haskell-cafe] Theoretical question: are side effects necessary?

2012-03-17 Thread Ketil Malde
Ryan Ingram ryani.s...@gmail.com writes: You can emulate mutation with at most O(log(n)) penalty using a map. Given that memory is of fixed size, log2(n) = 64, so for real-world programs this becomes O(1). I'm not sure assuming fixed size memory is a good idea for a theoretical discussion -

Re: [Haskell-cafe] We *have* been accepted into the Google Summer of Code

2012-03-17 Thread Heinrich Apfelmus
Edward Kmett wrote: Just to clarify, since I've been getting a ton of emails on the topic, we *have* been accepted to the Google Summer of Code this year. The list on their site is still updating, and we should appear there shortly. Just for reference, here the direct link that is now online:

Re: [Haskell-cafe] Regular Expression with PCRE

2012-03-17 Thread Brandon Allbery
On Fri, Mar 16, 2012 at 20:17, Carter Tazio Schonwald carter.schonw...@gmail.com wrote: Basically this applies in your case because recognizing if a sequence of characters is in a comment block or not for HTML is likely not expressible using regexes. There may be a way for a very controlled

Re: [Haskell-cafe] Theoretical question: are side effects necessary?

2012-03-17 Thread Donn Cave
Quoth Jeff Shaw shawj...@msu.edu, ... I'm thinking that side effects are really only necessary because Haskell programs expect to mutate the state of a computer outside of the haskell program. I'm not a computer scientist, but in English, side effect is an effect that accompanies some other

Re: [Haskell-cafe] Prettier pretty-printing of data types?

2012-03-17 Thread Ryan Newton
Hi all, I've got a question that pertains to any of these identify-region, parse, make-expandable approaches. The main use I'd like to use the trick for (esp. Chris's Emacs version) is to deal with large intermediate compiler ASTs. But if a compiler produces a long stream of output to stdout,

Re: [Haskell-cafe] Prettier pretty-printing of data types?

2012-03-17 Thread Brandon Allbery
On Sat, Mar 17, 2012 at 08:55, Ryan Newton rrnew...@gmail.com wrote: - If the source is available, the compiler could be tweaked to obey a protocol, putting delimiters around collapsable output (possibly non-printing control sequences??) I believe both emacs and vim have folding

Re: [Haskell-cafe] Theoretical question: are side effects necessary?

2012-03-17 Thread Chris Smith
On Sat, Mar 17, 2012 at 5:41 AM, Donn Cave d...@avvanta.com wrote: I hope the answer is not that in computer science we regard all effects as side effects because the ideal computer program simply exists without consequence. The answer is that side effects has become something of a figure of

Re: [Haskell-cafe] Prettier pretty-printing of data types?

2012-03-17 Thread Ryan Newton
Ah, great! I gave it one very brief try with this mode: http://www.emacswiki.org/emacs/FoldingMode (folding-add-to-marks-list 'shell-mode #{{{ #}}} nil t) But I just got not on a fold. Maybe it doesn't compose with shell mode? It might be easier just to add similar functionality to a

Re: [Haskell-cafe] Open-source projects for beginning Haskell students?

2012-03-17 Thread Heinrich Apfelmus
Brent Yorgey wrote: I am currently teaching a half-credit introductory Haskell class for undergraduates. This is the second time I've taught it. The last time, for their final project I gave them the option of contributing to an open-source project; a couple groups took me up on it and I

[Haskell-cafe] A GSoC Proposal

2012-03-17 Thread Kit Barnes
I have a proposal for a GSoC project that I wish to undertake. Is this a good place for me to begin discussing it? -- KitB ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] A GSoC Proposal

2012-03-17 Thread Johan Tibell
On Sat, Mar 17, 2012 at 8:21 AM, Kit Barnes k...@ninjalith.com wrote: I have a proposal for a GSoC project that I wish to undertake. Is this a good place for me to begin discussing it? Yes! -- Johan ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Open-source projects for beginning Haskell students?

2012-03-17 Thread serialhex
On Sat, Mar 17, 2012 at 11:01 AM, Heinrich Apfelmus apfel...@quantentunnel.de wrote: The task is to implement a small audio synthesizer in Haskell. seriously?!?! i'm not in his class, but i'm game! i learn better when i'm working on something interesting, and i want to make my (currently

Re: [Haskell-cafe] Prettier pretty-printing of data types?

2012-03-17 Thread dag.odenh...@gmail.com
On 17 March 2012 14:10, Brandon Allbery allber...@gmail.com wrote: On Sat, Mar 17, 2012 at 08:55, Ryan Newton rrnew...@gmail.com wrote: If the source is available, the compiler could be tweaked to obey a protocol, putting delimiters around collapsable output (possibly non-printing control

Re: [Haskell-cafe] Theoretical question: are side effects necessary?

2012-03-17 Thread KC
Apparently on such solid ground that you hinder their critical thinking skills by answering for them. On Fri, Mar 16, 2012 at 9:24 PM, Donn Cave d...@avvanta.com wrote: Quoth KC kc1...@gmail.com, On Fri, Mar 16, 2012 at 7:44 PM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: ...

[Haskell-cafe] In Haskell, because of the fine layers of abstraction that are possible, it pays to hone one's critical thinking skills.

2012-03-17 Thread KC
-- -- Regards, KC ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] In an imperative language, commands fulling memory cells is easy, but gives the false impression that S/W engineering is easy.

2012-03-17 Thread KC
-- -- Regards, KC ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] In Haskell, because of the fine layers of abstraction that are possible, it pays to hone one's critical thinking skills.

2012-03-17 Thread Christopher Done
Are you creating these posts by accident or what's the point of them? They are completely devoid of a message body. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Theoretical question: are side effects necessary?

2012-03-17 Thread Jerzy Karczmarczuk
KC comments the posting of Donn Cave referring to the soundness of some potential approach of software engineers: Apparently on such solid ground that you hinder their critical thinking skills by answering for them Monsieur KC, do you want to discuss, or just to be cute? In both cases, begin

Re: [Haskell-cafe] Theoretical question: are side effects necessary?

2012-03-17 Thread Donn Cave
Quoth Chris Smith cdsm...@gmail.com, ... The answer is that side effects has become something of a figure of speech, and now has a specialized meaning in programming languages. When we're talking about different uses of the word function in programming languages, side effects refer to any

Re: [Haskell-cafe] We *have* been accepted into the Google Summer of Code

2012-03-17 Thread Sajith T S
Heinrich Apfelmus apfel...@quantentunnel.de wrote: Just for reference, here the direct link that is now online: http://www.google-melange.com/gsoc/org/google/gsoc2012/haskell How up-to-date/relevant are the projects in the ideas page?

Re: [Haskell-cafe] In Haskell, because of the fine layers of abstraction that are possible, it pays to hone one's critical thinking skills.

2012-03-17 Thread Lars Viklund
On Sat, Mar 17, 2012 at 05:40:56PM +0100, Christopher Done wrote: Are you creating these posts by accident or what's the point of them? They are completely devoid of a message body. KC: It's not customary to have any information in the subject that is not present in elaborated form in the

Re: [Haskell-cafe] In an imperative language, commands fulling memory cells is easy, but gives the false impression that S/W engineering is easy.

2012-03-17 Thread Jake McArthur
This mailing list is not Twitter. Please stop sending emails without meaningful content. On Mar 17, 2012 12:42 PM, KC kc1...@gmail.com wrote: -- -- Regards, KC ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] In Haskell, because of the fine layers of abstraction that are possible, it pays to hone one's critical thinking skills.

2012-03-17 Thread Brandon Allbery
On Sat, Mar 17, 2012 at 16:30, Lars Viklund z...@acc.umu.se wrote: On Sat, Mar 17, 2012 at 05:40:56PM +0100, Christopher Done wrote: Are you creating these posts by accident or what's the point of them? They are completely devoid of a message body. KC: It's not customary to have any

Re: [Haskell-cafe] In Haskell, because of the fine layers of abstraction that are possible, it pays to hone one's critical thinking skills.

2012-03-17 Thread Christopher Done
On 17 March 2012 22:09, Brandon Allbery allber...@gmail.com wrote: I think KC is simply unfamiliar with mail clients, and is putting what is intended to be the body in the subject line. Possibly. If that's the case I'm sorry KC if any offense was caused with my blunt words.

Re: [Haskell-cafe] In an imperative language, commands fulling memory cells is easy, but gives the false impression that S/W engineering is easy.

2012-03-17 Thread Tom Murphy
The messages are replies to messages on this list; I think it's just a simple smartphone subject/message mixup Tom On Mar 17, 2012 4:44 PM, Jake McArthur jake.mcart...@gmail.com wrote: This mailing list is not Twitter. Please stop sending emails without meaningful content. On Mar 17, 2012

Re: [Haskell-cafe] cabal-install problem with alex dependency in bytestring-lexing

2012-03-17 Thread Rogan Creswick
On Mar 16, 2012 3:12 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 17 March 2012 09:02, Erik de Castro Lopo mle...@mega-nerd.com wrote: Ivan Lazar Miljenovic wrote: One trivial solution is to assume ~/.cabal/bin is on the PATH and to ignore system-wide packages, which I