Sky Rose

Results 42 comments of Sky Rose

I ran into another example: ```ts const data = await IDB.get(key); if (isOutdated(data)) { await IDB.del(key); return null; } else { return data; } ``` The `get` and `del` aren't...

Same on a Libra 2 v2.17.2 (though because of other Libra 2 issues, I don't know if this is a new problem or if it has never worked.)

I would use this most often in decoders or other places that are handling untrusted / user inputed data. Using Maybe/Result makes sense in those contexts, and I tend to...

My use case is interfacing with an existing system that uses css colors. I don't control that system so can't change it to a different format (nor would I want...

I use [pzp1997/assoc-list](https://package.elm-lang.org/packages/pzp1997/assoc-list/latest) instead. It's the same idea, a replacement for `Dict` that allows non-`comparable` keys, though it has different constraints and features than this package.

I think this is a great idea, that really gets at how similar lists and maybes are. (Maybes are just a list with 0 or 1 elements.) I only found...

Thoughts on whether it should be ```elm fold : (a -> b -> b) -> b -> Maybe a -> b maybe |> Maybe.Extra.fold update updateable ``` vs ```elm fold...

That `Bool -> a -> Maybe a` function was considered here: #49 It was ultimately rejected, because > It slightly encourages invalid states. For example, there's an implicit assumption that's...

On its own this function seems to do so little that it's not worth adding. But I see the use case there, and I wonder if it could be addressed...

Should this be a new function (like `imageWithFallback: List String -> Attribute msg`) to avoid the breaking change and to keep the common case easy?