4 ms·
What you mean with unidiomatic? If a language has Maybe<T> = None | Just<T> as a core concept then it's idiomatic by definition.
by ngruhn 2y ago
What you mean with unidiomatic? If a language has
Maybe<T> = None | Just<T>
as a core concept then it's idiomatic by definition.
- hombre_fatal 2y agoTypescript doesn't define a Maybe<T> nor do you need it to have idiomatic statically-typed nullability. It already has: type value = string | null