Skip to content

Commit

Permalink
Clarify functional interpretation
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari committed Jun 26, 2015
1 parent 4310071 commit ab644ea
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/index.rst
Expand Up @@ -160,7 +160,9 @@ Inspecting fit results
Functional interpretation
-------------------------

The architecture of ``squmfit`` is inspired by patterns used widely in
Haskell and other functional languages. The :class:`Expr` class is an
applicative functor and reader monad having access to an environment
containing packed parameter values.
The design of ``squmfit`` is largely inspired by patterns introduced to the
author by the functional programming community. If one is so inclined it can be
useful to think of :class:`Expr` as an reader applicative having access to an
environment containing packed parameter values. Composition is standard function
composition. The :func:`Expr.map` function provides functorial map. Functions
can also be lifted with the :func:`model` decorator.

0 comments on commit ab644ea

Please sign in to comment.