Skip to content

Commit 1b38104

Browse files
committed
update description
1 parent ab946d7 commit 1b38104

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

setup.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
# Short description for package list on PyPI
3232
#
33-
SHORTDESC="Missing batteries included: Python meets Lisp and Haskell."
33+
SHORTDESC="Supercharge your Python with parts of Lisp and Haskell."
3434

3535
# Long description for package homepage on PyPI
3636
#
@@ -41,16 +41,16 @@
4141
We place a special emphasis on **clear, pythonic syntax**. Design considerations
4242
are simplicity, robustness, and minimal dependencies.
4343
44-
Without MacroPy, our features include tail call optimization (TCO), TCO'd loops
45-
in FP style, call/ec, let & letrec, assign-once, multi-expression lambdas,
44+
**Without macros**, our features include tail call optimization (TCO), TCO'd
45+
loops in FP style, call/ec, let & letrec, assign-once, multi-expression lambdas,
4646
dynamic assignment (a.k.a. *parameterize*, *special variables*), memoization
4747
(also for generators and iterables), currying, function composition,
4848
folds and scans (left and right), unfold, lazy partial unpacking of iterables,
4949
functional update for sequences, and pythonic lispy linked lists (``cons``).
5050
51-
Our curry slightly modifies Python's reduction rules. It passes any extra
52-
arguments through on the right, and calls a callable return value on the
53-
remaining arguments, so that we can::
51+
Our curry modifies Python's reduction rules. It passes any extra arguments
52+
through on the right, and calls a callable return value on the remaining
53+
arguments, so that we can::
5454
5555
mymap = lambda f: curry(foldr, composerc(cons, f), nil)
5656
myadd = lambda a, b: a + b
@@ -64,7 +64,7 @@
6464
macros that essentially extend the Python language, adding features that would
6565
be either complicated or impossible to provide (and/or use) otherwise.
6666
67-
Macro features include automatic currying, automatic tail-call optimization,
67+
**With macros**, we add automatic currying, automatic tail-call optimization,
6868
continuations (``call/cc`` for Python), ``let-syntax`` (splice code at macro
6969
expansion time), lexically scoped ``let`` and ``do`` with lean syntax,
7070
implicit return statements, and easy-to-use multi-expression lambdas
@@ -77,6 +77,8 @@
7777
The continuation system is based on a semi-automated partial conversion into
7878
continuation-passing style (CPS), with continuations represented as closures.
7979
It also automatically applies TCO, using the same machinery as the TCO macro.
80+
To keep the runtime overhead somewhat reasonable, the continuation is captured
81+
only where explicitly requested with ``call_cc[]``.
8082
8183
Macro examples::
8284

0 commit comments

Comments
 (0)