3 ms·
Grain seems way unfinished and the stdlib does not seem to have any such function[0], so here's how Elm handles it instead as it has the same target/ethos of av
by masklinn 8y ago
Grain seems way unfinished and the stdlib does not seem to have any such function[0], so here's how Elm handles it instead as it has the same target/ethos of avoiding runtime errors: http://package.elm-lang.org/packages/elm-lang/core/latest/List#head http://package.elm-lang.org/packages/elm-lang/core/latest/Li...
[0] it's not very useful either if you have pattern matching on lists, you can just match the list directly.