dbrattli / Expression

Functional programming for Python
https://expression.readthedocs.io
MIT License
475 stars 31 forks source link

Question: How would I read a file in a functional way in this library? #28

Open efagerberg opened 3 years ago

efagerberg commented 3 years ago

I see in the documentation reference to the IO monad in https://github.com/cognitedata/Expression/blob/main/notebooks/06%20-%20Effects%20and%20Side-Effects.md but then the documentation transitions to talking about effects. I am wondering how would I make a function with this library that returns something like a Task monad that defers actually running the side effect?