Metadata-Version: 2.1
Name: lshift
Version: 0.1.1
Summary: left shift args to make a function a partial application
Home-page: https://github.com/v2e4lisp/lshift
Author: Yan Wenjun
Author-email: mylastnameisyan@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries

shift
=====

left shift arguments to make a function a partial application.

|Build Status| tested on 2.7, 3.2, 3.3

install
-------

.. code:: bash

    pip install shift

API
---

-  ``arg(*args, **kwargs)``

Example
-------

.. code:: python

    from shift import arg
    import operator

    double = operator.mul << arg(2)
    mapinc = map << arg(lambda x: x+1)

.. |Build Status| image:: https://travis-ci.org/v2e4lisp/shift.png
   :target: https://travis-ci.org/v2e4lisp/shift


