I feel at some point I must learn Haskell (or OCaml or something) due to the coolness of the functional programming competition and the power evidenced in those languages.

My AI class in college was taught in lisp. I found Lisp to be cool, but limited in terms of provided API's bindings, etc... is Haskell any better in that extent? Are there options for graphics libraries (i.e. if you were sick-and-twisted enough can you do OpenGL in Haskell?).

Anyhow, these kind of languages are what Computer Science is meant to be about. It's what draws me to Perl. Text processing isn't a huge chunk of the allure -- more so, it's the closures, anonymous subroutines, and other constructs which are more closely related to Lisp and other languages -- and harder to implement in most of the "business" languages of the day.

It appears Haskell is the way to go -- after all, one won't go blind from reading on too many parenthesis :)

As an aside, I'm a graduate of NC State University, where my AI professor lead a little project called 'Mimesis'...essentially there were writing an intelligent story generator in Lisp that drove a Quake engine which retold part of the story of Beowulf. Interesting idea -- but I knew one of the guys who worked on it -- and he said he had to roll his own XML parser in Lisp! Ouch! Things like that tend to keep me away from new languages, when the tools aren't there -- Perl is nice in this manner because there is a low barrier to entry in any sort of new task -- and a strong toolkit. But yes, it's too easy to think you are doing functional programming when you are not.


In reply to Re: Resources for Functional Programming? by flyingmoose
in thread Resources for Functional Programming? by kvale

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.