Re[2]: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-13 Thread Bulat Ziganshin
Hello kynn, Thursday, April 12, 2007, 7:10:56 AM, you wrote: rather pragmatic. I have not been able to find enough support in Haskell for everyday tasks (e.g. read a stream from a socket; parse it into a simple data structure; process the data in the structure; print out the results to a

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-12 Thread Valery V. Vorotyntsev
Dave Feustel [EMAIL PROTECTED] writes: A serious omission in Haskell tutorials is a collection of examples of how to write Haskell solutions for problems that would use arrays in any imperative language. I see that arrays can be defined in Haskell, but I don't see their use as

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-12 Thread Udo Stenzel
kynn wrote: (I don't need elegant factorial or Fibonacci functions in my everyday work.) I think you do. Most of your utility programs probably fit into the simple frame of main = interact $ unlines . map f . lines for suitable f. Of course, f is hardly ever the factorial function, but it

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-12 Thread kynn
Hi. I can't find that post. Could you point it to me please? Thanks! kj riccardo cagnasso wrote: The post on dons' blog about the cpu scaler is a great example on how haskell can easily used in the day-to-day hacking! 2007/4/11, brad clawsie [EMAIL PROTECTED]: i find that don's

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-12 Thread Alex Queiroz
Hallo, On 4/12/07, kynn [EMAIL PROTECTED] wrote: Hi. I can't find that post. Could you point it to me please? It's in here: http://cgi.cse.unsw.edu.au/~dons/blog/2007/03/10#programmable-semicolons -- -alex http://www.ventonegro.org/ ___

[Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread kynn
Perl is a large, ugly, messy language filled with quirks and eccentricities, while Haskell is an extremely elegant language whose design is guided by a few overriding ideas. (Or so I'm told.) Based on this one would think that it would be much easier to learn Haskell than to learn Perl, but my

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread Donald Bruce Stewart
kynnjo: Perhaps Haskell will never lend itself to something like a Perl one-liner, but still I wish that there were books on Haskell that focused on making Haskell useful to the learner as quickly as possible... If such already exist and I've missed it, please let me know. There's some

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread riccardo cagnasso
My opinion is that learnin haskell is difficult is just for the fact that when you learn programming, you probably begin with C / C++ or some other procedural/OO programming language, so you get used to think in these ways, and when you have to switch to functional paradigm, you find it

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread Mark T.B. Carroll
Sorry to hear of your struggles. There has been a lot of work lately on writing Haskell tutorials but there's still a long way to go, unfortunately, as I discovered when I tried recently to find the collection of sample code fragments on the wiki that I'm sure are around somewhere. I had the

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread Thomas Hartman
I am also coming at haskell from a perl background. While there is some truth to what you say, I do think haskell can be used for keeping simple things simple in a way similar to perl. Though you have to search harder since the documentation / tutorials seem to be more optimized for making hard

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread Dave Feustel
-Original Message- From: Mark T.B. Carroll [EMAIL PROTECTED] Sent: Apr 11, 2007 10:18 AM To: kynn [EMAIL PROTECTED] Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Why Perl is more learnable than Haskell Sorry to hear of your struggles. There has been a lot of work lately

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread brad clawsie
On Wed, Apr 11, 2007 at 05:55:08AM -0700, kynn wrote: Perl is a large, ugly, messy language filled with quirks and eccentricities, while Haskell is an extremely elegant language whose design is guided by a few overriding ideas. (Or so I'm told.) i find that don's haskell hacking blog has

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread riccardo cagnasso
The post on dons' blog about the cpu scaler is a great example on how haskell can easily used in the day-to-day hacking! 2007/4/11, brad clawsie [EMAIL PROTECTED]: i find that don's haskell hacking blog has been written with the daily hacker in mind:

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread Alex Queiroz
Hallo, On 4/11/07, riccardo cagnasso [EMAIL PROTECTED] wrote: The post on dons' blog about the cpu scaler is a great example on how haskell can easily used in the day-to-day hacking! Just read it, it's a very nice post. I'm not afraid of math, but it's a relief to see some code I can

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread John Velman
On Wed, Apr 11, 2007 at 05:55:08AM -0700, kynn wrote: Perl is a large, ugly, messy language filled with quirks and eccentricities, while Haskell is an extremely elegant language whose design is guided by a few overriding ideas. (Or so I'm told.) Based on this one would think that it would

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread David Tolpin
If you first language is LISP probably you find easy Haskell and difficult pearl. Hi, my first programming language is lisp (that is, the language I am most fluent in -- recently Common Lisp, earlier Scheme) and I find Haskell a problematic programming language (this is a fresh experience

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread jim burton
kynn wrote: Perl is a large, ugly, messy language filled with quirks and eccentricities, while Haskell is an extremely elegant language whose design is guided by a few overriding ideas. (Or so I'm told.) [snip] May I ask why you want to learn it so much, if you find it so hard? I'm

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread Brandon Michael Moore
On Wed, Apr 11, 2007 at 02:21:41PM +0100, Will Newton wrote: On 4/11/07, kynn [EMAIL PROTECTED] wrote: Perl is a large, ugly, messy language filled with quirks and eccentricities, while Haskell is an extremely elegant language whose design is guided by a few overriding ideas. (Or so I'm

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread David Tolpin
Hi, I'm guessing you're not doing it the right way. cvs -d :pserver:[EMAIL PROTECTED]:/srv/CVSROOT co SYRENE/src By using types, you implementation becomes a lot more readable. Being readable is not enough for being readable aloud. And I think a lot of people here will disagree with

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread Tomasz Zielonka
On Wed, Apr 11, 2007 at 05:55:08AM -0700, kynn wrote: Perl is a large, ugly, messy language filled with quirks and eccentricities, while Haskell is an extremely elegant language whose design is guided by a few overriding ideas. (Or so I'm told.) Based on this one would think that it would

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread Thomas Conway
On 4/11/07, riccardo cagnasso [EMAIL PROTECTED] wrote: If you first language is LISP probably you find easy Haskell and difficult pearl. I must say I agree here. I spent 10 years programming in prolog before I tried haskell. Most of my problems with haskell are because it has a rather opaque

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread kynn
riccardo cagnasso wrote: My opinion is that learnin haskell is difficult is just for the fact that when you learn programming, you probably begin with C / C++ or some other procedural/OO programming language... Actually, my first language was Scheme; I loved it, and I aced the class,

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread Brandon S. Allbery KF8NH
On Apr 11, 2007, at 23:10 , kynn wrote: rather pragmatic. I have not been able to find enough support in Haskell for everyday tasks (e.g. read a stream from a socket; parse it into a simple The stuff in Network (not Network.Socket) gives you a Handle, which you can treat more or less