Although users usually think of Python as a procedural and object-oriented language, it actually contains everything you need for a completely functional approach to programming. This article discusses general concepts of functional programming, and illustrates ways of implementing functional techniques in Python. It starts with the hardest question: "What is functional programming (FP), anyway?" One answer would be to say that FP is what you do when you program in languages like Lisp, Scheme, Haskell, ML, OCAML, Clean, Mercury, or Erlang (or a few others). That is a safe answer, but not one that clarifies very much. Unfortunately, it is hard to get a consistent opinion on just what FP is, even from functional programmers themselves.
Similar scripts
Improving the social infrastructure of Python: pydoc and distutils modules
(Popularity: ) : Some time ago if you were to ask an honest Python evangelist if Python was missing anything important that Perl, had, the answer would most likely have been "yes". It wasn't that Python lacked a breadth of module and package ... Functional programming in Python, Part 2
(Popularity: ) : This article offers introduction to functional programming (FP) in Python. It introduces the learner to different programs on problem-solving. It demonstrates several intermediate and advanced FP concepts. This article also includes code snippets Functional programming in Python, Part 3
(Popularity: ) : The article is 3rd in the series on Functional Programming in Python series. Like in the previous articles it continues the discussion on FP by illustrating its additional capabilities, like currying and other higher-order functions contained in the Xoltar Toolkit. ...
User reviews
Similar Software
Python for Linux
(Popularity: ) : Python is an interpreted, interactive, object-oriented programming language. Python is often compared to Perl, Tcl, Scheme or Java.
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There ... WyvPong
(Popularity: ) : WyvPong is just a very simple arcade game written in Python and PyGame.
Developer comments
I thought I'd share it if anyone wanted to learn the very basics of pygame. Pretty much making something move around on screen(the ball) and making something ... AFNIX programming language
(Popularity: ) : AFNIX is a multi-threaded functional programming language with dynamic symbol bindings that support the object oriented paradigm. AFNIX programming language features a state of the art runtime engine that supports both 32 and 64 bits platforms.
AFNIX is distributed with several ... Python PyGame Tower Defense
(Popularity: ) : Python PyGame Tower Defense is a real-time strategy game written in Python with PyGame
Developer comments
In the early stages, yet already playable, though admittedly not very fun yet. Currently has one enemy type, and three towers, each with three levels. Only ... FunkLoad for Linux
(Popularity: ) : FunkLoad project is a functional and load web tester, written in Python, whose main use cases are:
? Functional testing of web projects, and thus regression testing as well.
? Performance testing: by loading the web application and monitoring your servers it ... Scala for Mac
(Popularity: ) : Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages.
Scala is also fully interoperable with Java and it is the successor ... Mango Saves the World May
(Popularity: ) : Mango Saves the World it's an adventure/action game written in Python/PyGame.
An ancient monster who lives in the sun has unleashed its wrath upon the world, and a lone mango sets out to stop it!
Controls:
Arrow keys: menus, move;
Enter: select menu uption;
P: ... Pymugwump
(Popularity: ) : Pymugwump is a tile-based game in which the goal is to find the location of the four mugwumps hiding throughout the board. Just click around the board and it shouldn't be hard to figure out how to play.
Developer comments
I felt ... pyFrogger
(Popularity: ) : PyFrogger is a clone of the original game Frogger, written in Python and PyGame. It serves as a sample for developping the FGame module : a library to build arcade game on top of PyGame/Python.. . SourceForge presents the pyFrogger ... Super Mario Python
(Popularity: ) : Super Mario Python is an arcade game similar to the original Super Mario Bros on the NES console. The game features 4 levels for now.. . SourceForge presents the Super Mario Bros. Python project. Super Mario Bros. Python is an ...