semvec/pypi-packages huggingface dataset:
lshift 0.1.1
left shift args to make a function a partial application
License: MIT

lshift
======

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 lshift

API
---

-  ``arg(*args, **kwargs)``

Example
-------

.. code:: python

    from lshift import arg
    import operator

    double = operator.mul << arg(2)
    mapinc = map << arg(lambda x: x+1)

.. |Build Status| image:: https://travis-ci.org/v2e4lisp/lshift.png
   :target: https://travis-ci.org/v2e4lisp/lshift