second-bridge
second-bridge copied to clipboard
Add Foldable support to Try
We should take a look on implementing Swiftz's Foldable protocol to Try, or if it doesn't make sense, try to implement it on our own based on a suggestion in this pull request:
https://github.com/47deg/second-bridge/pull/48
myTry<T> fold (fail = (ex) -> T , succ = (result) -> T)