diff --git a/README.md b/README.md new file mode 100644 index 0000000..dd21981 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Function Composition + +Allows you to compose functions seemlessly. + +```python +>>> from compose import Compose +>>> def add2(x): +... return x + 2 +... +>>> def mul3(x): +... return x * 3 +... +>>> Compose >> add2 >> mul3 +add2 >> mul3 +>>> Compose >> add2 >> mul3 | 10 +36 +```