-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Would be cool if it provided some well-known operators like and some others to work with Js.t
(>>=) = bind (for options)
// the dot would be to recall the {. } syntax shotcut for JS objects in Reason
(||.) = defaults Js.Null_undefined
// nullableStringFn() ||. "default!"
(>>=.) = Bind Js.Null_undefined
// nullableObjectReturn >>=. (x => x##foo) >>=. (foo => foo##bar) ||. "default!"
etc
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels