3 ms·
List.tail []
by sawady 8y ago
List.tail []
- yakshaving_jgt 8y agotail : 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.