Re: [Haskell-cafe] Re: How did you stumble on Haskell?

2007-02-07 Thread Creighton Hogg

On 2/7/07, Mikael Johansson <[EMAIL PROTECTED]> wrote:


On Tue, 6 Feb 2007, Jesse Tov wrote:

> Mikael Johansson wrote:
>>  I read sigfpe and got interested.
>
> I read sigsegv and got interested :)
>

That's also a blogger writing about Haskell? Or am I missing a joke here?



It's a seg fault.  They make c programmers light up with glee!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: How did you stumble on Haskell?

2007-02-07 Thread Mikael Johansson

On Tue, 6 Feb 2007, Jesse Tov wrote:


Mikael Johansson wrote:

 I read sigfpe and got interested.


I read sigsegv and got interested :)



That's also a blogger writing about Haskell? Or am I missing a joke here?


Jesse



--
Mikael Johansson | To see the world in a grain of sand
[EMAIL PROTECTED]|  And heaven in a wild flower
http://www.mikael.johanssons.org | To hold infinity in the palm of your hand
 |  And eternity for an hour
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: How did you stumble on Haskell?

2007-02-06 Thread Andrew Wagner

Heh. I still remember in my first Comp Sci class, in C, I had to take
a 2-line recursive tree traversal...and write it iteratively (in like
50 lines).

On 2/6/07, Dan Piponi <[EMAIL PROTECTED]> wrote:

I've always found recursive solutions to problems elegant and I've
always been fed up of people telling me that I should rewrite
recursive solutions iteratively. (Annoying as it is, many people do
that.) I complained about this on K5 and solicited some opinions from
others on whether or not they would choose the recursive or iterative
solutions to problems. Someone called jacob said something like "why
choose when in Haskell they're the same thing?". Guilt-free recursion!
That was the turning point.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: How did you stumble on Haskell?

2007-02-06 Thread Dan Piponi

I've always found recursive solutions to problems elegant and I've
always been fed up of people telling me that I should rewrite
recursive solutions iteratively. (Annoying as it is, many people do
that.) I complained about this on K5 and solicited some opinions from
others on whether or not they would choose the recursive or iterative
solutions to problems. Someone called jacob said something like "why
choose when in Haskell they're the same thing?". Guilt-free recursion!
That was the turning point.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: How did you stumble on Haskell?

2007-02-06 Thread Jesse Tov

Mikael Johansson wrote:

I read sigfpe and got interested.


I read sigsegv and got interested :)

Jesse

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: How did you stumble on Haskell?

2007-02-03 Thread Jón Fairbairn
Paul Johnson <[EMAIL PROTECTED]> writes:

> I'd read Eric Raymond's piece about being a hacker, where
> he said to learn Lisp for the side effects.

Much better to learn Haskell for the side effects! ;-)

-- 
Jón Fairbairn [EMAIL PROTECTED]

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: How did you stumble on Haskell?

2007-02-03 Thread Jón Fairbairn
Lennart Augustsson <[EMAIL PROTECTED]> writes:

> On Jan 29, 2007, at 03:01 , Alexy Khrabrov wrote:
> 
> > How do people stumble on Haskell?
> 
> Well, I didn't really stumble on it.  I was at the 1987 meeting
> when we decided to define Haskell.
> 
> But I stumbled on functional programming in the first place.
> I had to learn it because it was part of a course in denotational
> semantics. 

OK, if we old lags are going to give our excuses... I was a
member of an undergraduate society in Cambridge called the
Processor Group.  I went along to a talk that Arthur Norman
gave to them (must have been 1980±1?) in which he described
(S, K, I) combinators and his plans for the SKI Machine
(SKIM). The fact that S and K on their own gave a complete
computational basis was the most exciting piece of computer
science I'd encountered at that point and I just had to
follow it up. So some years later I ended up at that same
1987 meeting.

-- 
Jón Fairbairn [EMAIL PROTECTED]


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: How did you stumble on Haskell?

2007-01-30 Thread Chad Scherrer

I started using Python around 1998, and I loved the elegance of it, but I
was frustrated with the performance. Around 2001 I was poking around for
something that would give me better performance but still allow some nice
capabilities for abstraction.

I started using OCaml after reading a commentary from one of the Shootout
guys that he had been impressed with it. I loved the performance and the
parametrized modules, but the lack of overloading was frustrating. Once I
was looking for a nice rule of thumb for when to use foldl vs. foldr, and
was disappointed to hear "Just use foldl - it's tail recursive." Maybe
there's a place for folding right in a strict language, but I haven't seen
it.

Once I was deep into OCaml, Haskell kept coming up, since so many people
using OCaml also like Haskell. Seeing some elegance in "A Gentle
Introduction to Haskell" and not immediately understanding it got me hooked
right away. And there's a time to fold right!

Chad
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: How did you stumble on Haskell?

2007-01-30 Thread John Goerzen
On 2007-01-29, Alexy Khrabrov <[EMAIL PROTECTED]> wrote:
> How do people stumble on Haskell?  I've taught ML at UPenn, and many

Fascinating thread.

Awhile back, I decided that, once I got familiar and comfortable with a
programming language, I would learn a new one.  I tend a learn a new
language every 1-3 years on average.

I had been a convert from Perl to Python a few years back.  I got
comfortable with Python and decided I want to learn a new language.  I
looked at a number of them.  Rejected Ruby because it was too much like
Python, Erlang because it didn't seem general-purpose enough, Haskell
because its library seemed small at the time and the focus too academic.
I eventually learned OCaml.

OCaml was an interesting experience.  It had some nice features.  But
I/O was absolutely infruriating.  OCaml's default I/O system can't
handle files opened read-write, for instance.  It also has two distinct
list-like types: one that's lazy, one that's not, and they require two
distinct sets of functions to work with.  The object system also is
complicated.  The syntax and whole idea of .ml vs. .mli file felt very
dated and the build system was extremely difficult to get right.

So I again searched out a language, with largely the same results for
everything except Haskell.  I can't remember exactly what changed my
mind about Haskell.  It may have been Cabal, it may have been Darcs, or
something else.  In any case, I decided to pick it up.  I was pleasantly
surprised that Haskell seemed to have all the things I liked from both
Python and OCaml and none of the annoying things from either.

It's been a fun experience.  Haskell is the only language I've ever
learned in which I have used it for something like 2 years, written
numerous applications, developed several libraries, even written links
to C and Python, and still consider myself a newbie.

And that is a GOOD thing.

-- John

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: How did you stumble on Haskell?

2007-01-29 Thread Chung-chieh Shan
Bob Davison <[EMAIL PROTECTED]> wrote in article <[EMAIL PROTECTED]> in 
gmane.comp.lang.haskell.cafe:
> This leads me off thread to ask if anyone could recommend reading for 
> someone who has done mathematics to college level, but nearly 30 years ago 
> when many English schools didn't cover 20th century mathematics.  I thought 
> calculus was about differentiation and integration and was very surprised to 
> discover that there were such things as 'predicate calculus', 'propositional 
> calculus', and various flavours of 'lambda calculus'.  I also have little or 
> no idea of set theory, group theory, domain theory, combinatory logic, ...  

How about "The Haskell Road to Logic, Maths and Programming" by Kees
Doets and Jan van Eijck (http://homepages.cwi.nl/~jve/HR/), reviewed by
Ralf Lämmel (http://arxiv.org/abs/cs/0512096)?

-- 
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
Earth???s crammed with heaven,
And every common bush afire with God;
But only he who sees, takes off his shoes;
The rest sit round it and pluck blackberries. ??? Elizabeth B. Browning

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe