Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66636

Re: Can one use Python to learn and even apply Functional Programming?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'tutorial': 0.03; 'interpreter': 0.05; 'subject:Python': 0.06; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'style.': 0.09; 'python': 0.11; "wouldn't": 0.14; '1998': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'subject:Programming': 0.16; 'so.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'entered': 0.20; 'written': 0.21; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'sort': 0.25; 'url:edu': 0.26; 'header:X-Complaints-To:1': 0.27; 'programming.': 0.30; 'purchased': 0.30; 'enjoyed': 0.31; 'running': 0.33; 'implemented': 0.33; 'really': 0.36; 'scheme': 0.36; 'subject:one': 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'short': 0.38; 'anything': 0.39; 'functional': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'users': 0.40; 'subject:Can': 0.60; 'simply': 0.61; 'first': 0.61; 'more': 0.64; 'love': 0.65; 'competition': 0.65; 'experience.': 0.67; 'introduction': 0.68; 'sam': 0.68; 'online': 0.71; 'inform': 0.78
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Neil Cerutti <neilc@norwich.edu>
Subject Re: Can one use Python to learn and even apply Functional Programming?
Date Tue, 18 Feb 2014 16:39:43 +0000 (UTC)
Organization Norwich University
References <3fd33e3a-7774-4988-b725-4fed5472ac94@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host jackman.norwich.edu
User-Agent slrn/0.9.9p1/mm/ao (Win32)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.7118.1392741630.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392741630 news.xs4all.nl 2853 [2001:888:2000:d::a6]:33998
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66636

Show key headers only | View raw


On 2014-02-16, Sam <lightaiyee@gmail.com> wrote:
> I would like to learn and try out functional programming (FP).
> I love Python and would like to use it to try FP. Some have
> advised me to use Haskell instead because Python is not a good
> language for FP. I am sort of confused at the moment. Is Python
> a dysfunctional programming language to apply FP? Can the more
> experienced Python users advise?

I recommend Scheme to learn functional programming style.

There's a short scheme tutorial that was entered in the
Interactive Fiction competition in 1998 or so. You can play it
online here, and try out functional programming on a scheme
interepreter implemented in Inform and running on a Z-machine
interpreter written in javascript. It was *my* first introduction
to functional programming.

http://www.eblong.com/zarf/if.html#lists

I purchased and really enjoyed Simply Scheme as a followup to
that mind-bending experience.

http://www.eecs.berkeley.edu/~bh/ss-toc2.html

I wouldn't recommend trying to learn anything at the same time as
learning Haskell. ;)

-- 
Neil Cerutti

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Can one use Python to learn and even apply Functional Programming? Sam <lightaiyee@gmail.com> - 2014-02-15 20:45 -0800
  Re: Can one use Python to learn and even apply Functional Programming? Chris Angelico <rosuav@gmail.com> - 2014-02-16 16:34 +1100
  Re: Can one use Python to learn and even apply Functional Programming? Ben Finney <ben+python@benfinney.id.au> - 2014-02-16 16:42 +1100
  Re: Can one use Python to learn and even apply Functional Programming? Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-02-15 22:38 -0800
  Re: Can one use Python to learn and even apply Functional Programming? Chris Angelico <rosuav@gmail.com> - 2014-02-16 18:04 +1100
    Re: Can one use Python to learn and even apply Functional Programming? Pat Johnson <p.johnson125@gmail.com> - 2014-02-16 00:00 -0800
      Re: Can one use Python to learn and even apply Functional Programming? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-16 13:20 +0000
      Re: Can one use Python to learn and even apply Functional Programming? Chris Angelico <rosuav@gmail.com> - 2014-02-17 00:28 +1100
  Re: Can one use Python to learn and even apply Functional Programming? Terry Reedy <tjreedy@udel.edu> - 2014-02-16 03:40 -0500
  Re: Can one use Python to learn and even apply Functional Programming? Rustom Mody <rustompmody@gmail.com> - 2014-02-16 05:52 -0800
  Re: Can one use Python to learn and even apply Functional Programming? Ryan <rymg19@gmail.com> - 2014-02-16 09:11 -0600
  Re: Can one use Python to learn and even apply Functional Programming? Neil Cerutti <neilc@norwich.edu> - 2014-02-18 16:39 +0000

csiph-web