Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Learning functional programming (Book)

by larsen (Parson)
on Jun 12, 2001 at 14:28 UTC ( #87763=perlmeditation: print w/ replies, xml ) Need Help??

A programmer who hasn't been exposed to all four of the imperative, functional, objective, and logical programming styles has one or more conceptual blindspots. It's like knowing how to boil but not fry. Programming is not a skill one develops in five easy lessons. -- Tom Christiansen

I'd like to spend some of my time to learn functional programming languages. I don't think I'll write an entire application in Lisp or Scheme; I'm more interested in the "enlightenment experience" that functional programming languages bring. In other terms, I think I'll design and write code better, after studying some principles of functional programming. A good example of what I mean is the Schwartzian Transform. merlyn said (I can't remember where I've read it) that he wrote it quite naturally, simply (if the word 'simply' is correct) because he was trained to think, let's say, functionally :)

So far so good. I know that the topic of functional programming has been treated in the Monastery in the past. So I ask your help to build a book about Perl and Functional Programming (the title is not so restrictive) using the material that is available in the Monastery so far, in the sense I've described here (Lack of structure. Channeling structure).

So this node is under construction. First of all, I provide links to the nodes I've collected so far, waiting for you comments about How to give a structure to them and How to add value to them.

Lisp-In-Perl
A Lisp interpreter written in Perl
More Lisp-In-Perl
Lisp Rocks
Lisp is More Evaluatable
Lisp vs. Perl Round 3: Operator Associativity and Manipulation
Functional Perl as Scheme and functional XML parsing
Why I like functional programming
infinite series
A Perl implementation of the concepts of stream and delayed evaluation, using tied arrays
Schwartzian Transform
Re: Functional perl please
Computing the Hamming Sequence Functionally
mapcar -- map for more than one list

Links outside Perlmonks

11/2/2001 Update: Added "Outside Links" Section. Added quote from Tom Christiansen. Added some descriptions.

thank you

Comment on Learning functional programming (Book)
Re: Learning functional programming (Book)
by petral (Curate) on Jun 12, 2001 at 22:29 UTC
    comments about How to add value to them.:

    My comment is 'Comment'.  That is annotate, eg, (first cut)

        "infinite series
            -- simple tied array which returns the next value of a mathematical series ( forever! ) -- includes useful references"

    ( As to structure... maybe that will emerge :-). )

      p

Re: Learning functional programming (Book)
by ariels (Curate) on Jun 02, 2002 at 13:45 UTC

    I wrote about computing the Hamming sequence (functionally, with Perl) here. It's really the code from Structure and Interpretation of Computer Programs for that problem, translated into Perl.

    Indeed, that book deals with Scheme, not Perl. But its coverage of topics could make it useful for your project.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://87763]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-12-21 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (102 votes), past polls