This section covers topics on functional programming (FP) in Python. Here is a list of the articles.

Introduction

Introduction to functional programming - an overview of functional programming in Python.

Iterators

Iterators - an introduction to iterators, iterables and lazy evaluation.

Iterators vs iterables - the difference between an iterable and an iterator.

Built-in functions on iterables - an overview of the functions built in to Python for transforming, reducing and converting iterables.

Transforming iterables - details of the built-in functions for transforming iterables - mao, filter, zip and others.

Map/reduce example - a practical example of the map/reduce pattern.

Generators - using generators to easily create your won iterators.

Functions

Functions - how Python functions relate to functional programming.

Pure functions - pure functions are a mainstay of functional programming, but what exactly is a pure function?

See also

If you found these article useful you might be interested in my ebook Functional Programming in Python.

Next

Tag cloud

2d arrays

abstract data type

alignment

and

array

arrays

bezier curve

built-in function

close

closure

colour

comparison operator

comprehension

context

conversion

data types

design pattern

device space

dictionary

duck typing

efficiency

encryption

enumerate

filter

font

font style

for loop

function

function composition

function plot

functools

generator

gif

gradient

higher order function

html

image processing

imagesurface

immutable object

index

inner function

input

installing

iter

iterator

itertools

lambda function

len

linspace

list

list comprehension

logical operator

lru_cache

mandelbrot

map

monad

mutability

named parameter

numeric python

numpy

object

open

operator

optional parameter

or

partial application

path

positional parameter

print

pure function

radial gradient

range

recursion

reduce

rotation

scaling

sequence

slice

slicing

sound

spirograph

str

stream

string

subpath

symmetric encryption

template

text

text metrics

transform

translation

transparency

tuple

unpacking

user space

vectorisation

webserver

website

while loop

zip