Risto-Stevcev / bastet

A ReasonML/Ocaml library for category theory and abstract algebra
BSD 3-Clause "New" or "Revised" License
211 stars 26 forks source link

Include a infix for Option.default #1

Closed fakenickels closed 6 years ago

fakenickels commented 6 years ago

Would be nice to have an infix for https://github.com/Risto-Stevcev/bs-abstract/blob/master/src/implementations/Option.re#L6

Maybe |?, if you accept the idea I can go ahead and make a PR for it

Risto-Stevcev commented 6 years ago

yeah I think it's a great idea :slightly_smiling_face:

Risto-Stevcev commented 6 years ago

Added on 10f2434ddc478ea495d7711f8c751c33267f24f7

fakenickels commented 6 years ago

Sorry, I just saw the reply now. That's awesome!