Re:IBM releases Elm-powered app
by sawady on Thursday January 10, 2019 @11:41AM
(#18875217)
List.tail []
[ Parent
| on HN ]
Re:IBM releases Elm-powered app
by yakshaving_jgt on Thursday January 10, 2019 @11:59AM
(#18875455)
tail : List a -> Maybe (List a)
Nice try though.Haha, sorry. You know what I mean, a partial function.
Re:IBM releases Elm-powered app
by yakshaving_jgt on Thursday January 10, 2019 @04:23PM
(#18878353)
Except in Elm, the function isn't partial.
You're thinking of the partial functions from Haskell's Prelude.