lib/totally_lazy/functions.rb in totally_lazy-0.1.26 vs lib/totally_lazy/functions.rb in totally_lazy-0.1.28
- old
+ new
@@ -85,12 +85,12 @@
def realise_promise
->(promise) { promise.value! }
end
def get_left
- ->(either) { either.left }
+ ->(either) { either.left_value }
end
def get_right
- ->(either) { either.right }
+ ->(either) { either.right_value }
end
end
\ No newline at end of file