lib/totally_lazy/functions.rb in totally_lazy-0.1.25 vs lib/totally_lazy/functions.rb in totally_lazy-0.1.26

- old
+ new

@@ -83,6 +83,14 @@ end def realise_promise ->(promise) { promise.value! } end + + def get_left + ->(either) { either.left } + end + + def get_right + ->(either) { either.right } + end end \ No newline at end of file