bsansouci / bsb-native

Build system for OCaml/Reason
Other
245 stars 10 forks source link

use `*predef* option` instead of `option` #57

Open bsansouci opened 6 years ago

bsansouci commented 6 years ago

Right now bs.optional will turn a record field into an optional with getters and setters that work accordingly. We're using option right now as the types everywhere, but we could use *predef* option which is a little more robust against redefining option and is supported at the compiler level