�
���a� � � � d dl Z d dlmZmZ n# e$ r dZd dlmZ Y nw xY w e� � Zd� Zd� Z d� Z
d� Zd� Zd � Z
d
� Zd� Zd� Zd
� Zd� Ze�d� Znd� Zd� ZdS )� N)� Parameter� signature)�getfullargspecc � � | dz S )z Add one to the current value � � ��xs �=/usr/lib/python3/dist-packages/pyrsistent/_transformations.py�incr � � ��q�5�L� c � � | dz
S )z% Subtract one from the current value r r r s r �decr r
r c �0 � | |= dS # t $ r Y dS w xY w)zL Discard the element and returns a structure without the discarded elements N)�KeyError)�evolver�keys r �discardr s4 � �
��C�L�L�L���
�
�
����
���s � �
�c �6 �� t j | � � ��fd�S )zE Regular expression matcher to use together with transform functions c �X �� t | t � � o�� | � � S �N)�
isinstance�str�match)r �rs �r �<lambda>zrex.<locals>.<lambda>" |