tuturto / pyherc

simple roguelike written with Python and Hy
MIT License
43 stars 2 forks source link

clean up actions and monads #160

Open tuturto opened 7 years ago

tuturto commented 7 years ago

left-if-nil can be worked out just with ->either, provided there are no other falsey values expected. do-monad-e is just (either print Right (do-monad ...))