Open kutyel opened 3 months ago
Those fall into a few categories:
List.all identity
isn't really something you need a library to provide, no?toString
on a boolean is a bit funky, as each language/file format will need different namesIn other words, I would like to see a more complete argument for including any of these functions other than "Is not Bool
part of core?", before we consider this.
@gampleman your complaints are reasonable, I noticed in our codebase we are only using toMaybe
which I guess might be useful for someone else? 🤔
I find that function fairly confusing. Compare:
if bool then
Just v
else
Nothing
vs
Bool.Extra.toMaybe bool v
One of those is obvious, the other you need to read a fair amount of documentation...
Anyway, I think my opinion is clear. I'll leave this open for now and if there is a lot more consensus that we should include it, then we can re-evaluate this.
Is not
Bool
part of core? 🤔 https://package.elm-lang.org/packages/Chadtech/elm-bool-extra/latest/Bool-Extra