
    bi
                     
   d Z ddlZddlmZ ddlmZmZmZmZmZm	Z	m
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ ddlmZm Z   ej                  ejB                        Z! ej                  ejD                        Z" ej                  ejF                        Z# ej                  ejH                        Z$ ej                  ejJ                        Z% ej                  ejL                        Z& ej                  ejN                        Z' ej                  ejP                        Z( ej                  ejR                        Z) ej                  ejT                        Z* ej                  ejV                        Z+ ej                  ejX                        Z, ej                  ejZ                        Z- ej                  ej\                        Z. ej                  ej^                        Z/ ej                  ej`                        Z0 ej                  ejb                        Z1 ej                  ejd                        Z2 ej                  ejf                        Z3 ej                  ejh                        Z4 ej                  ejj                        Z5 ej                  ejl                        Z6 ej                  ejn                        Z7 ej                  ejp                        Z8 ej                  ejr                        Z9 ej                  ejt                        Z: ej                  ejv                        Z; ej                  ejx                        Z< ej                  ejz                        Z= ej                  ej|                        Z> ej                  ej~                        Z? ej                  ej                        Z@ ej                  ej                        ZA ej                  ej                        ZB ej                  ej                        ZC ej                  ej                        ZD ej                  ej                        ZE ej                  ej                        ZF ej                  ej                        ZG ej                  ej                        ZH ej                  ej                        ZI ej                  ej                        ZJ ej                  ej                        ZK[[y)a  
Alternate namespace for toolz such that all functions are curried

Currying provides implicit partial evaluation of all functions

Example:

    Get usually requires two arguments, an index and a collection
    >>> from toolz.curried import get
    >>> get(0, ('a', 'b'))
    'a'

    When we use it in higher order functions we often want to pass a partially
    evaluated form
    >>> data = [(1, 2), (11, 22), (111, 222)]
    >>> list(map(lambda seq: get(0, seq), data))
    [1, 11, 111]

    The curried version allows simple expression of partial evaluation
    >>> list(map(get(0), data))
    [1, 11, 111]

See Also:
    toolz.functoolz.curry
    N   )operator)applycomp
complementcomposecompose_leftconcatconcatvcountcurrydifffirstflipfrequenciesidentity
interleave
isdistinct
isiterablejuxtlastmemoizemerge_sortedpeekpipesecondthread_firstthread_last)merge
merge_with)L__doc__toolz r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   
exceptionsr   r    
accumulateassocassoc_inconscountbydissocdodropexceptsfiltergetget_ingroupby	interpose
itemfilteritemmapiteratejoin	keyfilterkeymapmapmapcatnthpartial	partitionpartition_allpartitionbypeeknpluckrandom_samplereducereducebyremovesliding_windowsortedtailtaketake_nthtopkunique	update_in	valfiltervalmap     Q/home/cdr/jupyterlab/.venv/lib/python3.12/site-packages/toolz/curried/__init__.py<module>rS      s  2        8 *U[[))*
EKK 5;;u~~&u{{5::
%++emm
$	U\\	"U[[u{{5::
%++emm
$	U\\	"ekk%))	U\\	"
%++emm
$EKK(	U[[))*

%++emm
$
%++emm
$u{{5::EKK(		U\\	"ekk%))	U\\	"ekk%))
%++emm
$EKK(	E//0ekk%++,EKK EKK E//0	U\\	"5;;u~~&	U\\	"U112	U\\	"u{{5::u{{5::5;;u~~&u{{5::	U\\	"EKK(	EKK(		U\\	"	rQ   