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
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
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
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
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/
___
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
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
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
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
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
-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
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
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:
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
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
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
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
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
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
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
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
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,
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
23 matches
Mail list logo