3 ms·
tail : List a -> Maybe (List a) Nice try though. https://github.com/elm/core/blob/master/src/List.elm#L548 https://github.com/elm/core/blob/master/src/List.el
by yakshaving_jgt 8y ago
tail : List a -> Maybe (List a)
Nice try though.
https://github.com/elm/core/blob/master/src/List.elm#L548 https://github.com/elm/core/blob/master/src/List.elm#L548
- sawady 8y agoHaha, sorry. You know what I mean, a partial function.
- yakshaving_jgt 8y agoExcept in Elm, the function isn't partial. You're thinking of the partial functions from Haskell's Prelude.