Peter Saxton

Results 143 comments of Peter Saxton

> What problem does this solve that fn(a, b) { run(b, a) } does not? It's no different to the one arity case. Apart from the fact that the one...

This is an interesting idea, and I like the goal. I'm not sure how useful it would in reality. For example. How do you type the return value of maps.find?...

> Do we support layouts? > > Do we support partials/includes? Is there any reason why they would need to be included. I wrote two libraries, EExHTML and Raxx.View separately...

This looks like a version of a type provider . forexample a constant from a file could be read as follows. `import gleam/raw.{value as some_constant}`

```rust import http/methods.* case route { tuple(GET, []) -> } ```

Ok, you might convince me on this. I've slimmed down the Midas API to only the functionality I actually used in my last two projects. There wasn't that much. I'm...

> How does this type parameter get filled? Is done automatically by the compiler in some fashion? Gleam magic does this, I don't know how it works. It just get's...

Yeah, I can't even explain in words what compatible but different would mean. But a check that says a set of nodes are safe if running the same version seems...

The usecase is in http query strings being able to show a user an error for parameters that shouldn't be declared twice but where

No, but I my experience most applications don't actually show duplicate keys as a warning. so at some level it is missing. Quite happy for this to be something that...