ó
P'—^c           @   sx   d  d l  m Z m Z d  d l m Z m Z m Z d d d d d g Z d „  Z d	 „  Z	 d
 „  Z
 d „  Z d „  Z d S(   i   (   t   composet   juxt(   t   somet   nonet   onet   all_fnt   any_fnt   none_fnt   one_fnt   some_fnc          G   s   t  t t |  Œ  ƒ S(   s5   Constructs a predicate, which holds when all fs hold.(   R    t   allR   (   t   fs(    (    s0   /tmp/pip-unpacked-wheel-WgnHs6/funcy/funcolls.pyR      s    c          G   s   t  t t |  Œ  ƒ S(   s6   Constructs a predicate, which holds when any fs holds.(   R    t   anyR   (   R   (    (    s0   /tmp/pip-unpacked-wheel-WgnHs6/funcy/funcolls.pyR      s    c          G   s   t  t t |  Œ  ƒ S(   s9   Constructs a predicate, which holds when none of fs hold.(   R    R   R   (   R   (    (    s0   /tmp/pip-unpacked-wheel-WgnHs6/funcy/funcolls.pyR      s    c          G   s   t  t t |  Œ  ƒ S(   sA   Constructs a predicate, which holds when exactly one of fs holds.(   R    R   R   (   R   (    (    s0   /tmp/pip-unpacked-wheel-WgnHs6/funcy/funcolls.pyR      s    c          G   s   t  t t |  Œ  ƒ S(   sX   Constructs a function, which calls fs one by one
       and returns first truthy result.(   R    R   R   (   R   (    (    s0   /tmp/pip-unpacked-wheel-WgnHs6/funcy/funcolls.pyR	      s    N(   t   funcsR    R   t   collsR   R   R   t   __all__R   R   R   R   R	   (    (    (    s0   /tmp/pip-unpacked-wheel-WgnHs6/funcy/funcolls.pyt   <module>   s   				