Jakub Hampl

Results 133 comments of Jakub Hampl

The bigger question is about dropping the `Element` prefix. elm-ui is a bit of an elephant in the room (pun totally intended) of elm libraries, that if a conflict would...

``` (1.00002 + 1.00002) |> Float.Extra.aboutEqual 2.00003 ``` This is expected. That's what "about equality" is about (sorry). You can also read in the docs: > Note: this is unlikely...

OK, looked into the test. The value it finds is very high and generally above the sort of common range this function is designed. I'll modify it to be something...

Those fall into a few categories: - trivial: `List.all identity` isn't really something you need a library to provide, no? - arbitrary: `toString` on a boolean is a bit funky,...

I think the `classList` style function for `List.Extra` would actually be a much more useful solution, that seems to come up a lot (especially in view code).

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...

I'd also be *for* having these functions treat infinities as equal, especially since `(1/0) == (1/0)`.

I've merged this manually. If there are any further changes then let's make them as separate PRs.

> for better or for worse I think that's the key question. I definitely have most of these helpers defined a few times in my projects as well. But is...

OK, here's an idea on how to solve the dilemma: 1. Adopt a little emoji icon, like 💡 and explain in the readme: > 💡 Not all functions in this...