Closed
Description
#7054 and rescript-lang/rescript-core#217 triggered a discussion about whether it is actually worth wrapping/boxing options at all (to be able to distinguish between None
and Some(None)
).
IMO it would be nice to get rid of this if possible.
Looking at the compiler output of a typical project at our company, I can currently see a lot of Caml_option.some
, all of them for JSX props or children, where they are unwanted and only cause unnecessary runtime overhead.
Metadata
Metadata
Assignees
Labels
No labels