Sometimes when using Js.Option
the compiler forces me to put a dot before the function argument. Example:
|> Js.Option.andThen((. a) => ... )
instead of
|> Js.Option.andThen((a) => ...)
What does that dot mean, syntax wise? It seems to me the closest thing in the documentation that use dots like that are Objects, but I’m not sure it’s the same meaning.