Skip to content

Instantly share code, notes, and snippets.

@sslotsky sslotsky/bind.re
Created Mar 6, 2019

Embed
What would you like to do?
let (>>=) = (m: chainableList('a), f: list('a) => chainableList('b)) => switch(m) {
| Value(l) => l|> f
| Failure => Failure
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.