Richard Feldman

Results 267 comments of Richard Feldman

Got it! So maybe a way to sum up the use case here is: 1. It makes sense for some functions that return `Html` to generate `id` values for their...

Is it a safe assumption that the attribute would always be a `String`? `IDREFS` will always be a string, but are there other potential types we might care about?

Cool! I'm gonna take a crack at an implementation this Friday - something to address both this and https://github.com/eeue56/elm-html-test/issues/52 Any objections @eeue56?

Related: https://github.com/eeue56/elm-html-test/issues/51

@eeue56 Fortunately, that use case can be covered by `containing`! (PR: https://github.com/eeue56/elm-html-test/pull/60) ```elm Query.findAll [ tag "li" , containing [ text "Something" ] ] ``` `containing` also covers the use...

> Based on this example, it sounds like it's making assertions against the node itself, but in practice, it looks like it traverses all of the node's children. Is this...

> Rather than `oneOf`, it should probably have a better name to indicate that the first match will be the one that's used. Hm, should that matter? It seems to...

> A downside of the `oneOf` approach is that we have to define how it would look in error messages (including the case of nested `oneOfs`). The `toResult` approach would...

Yeah, the first code snippet should be valid Roc! `{ 5 } = rec` should be a new compile error (probably checked during canonicalization) which is that you can't destructure...

> Do you mean that any code that is indented by 1 + 4 spaces inside doc comments should be formatted as if is was code (expect, with a prefix...