Louis Pilfold

Results 1867 comments of Louis Pilfold

Maybe we could do something like this for showing terms as we don't have term typespecs yet ```erlang -spec gleam@http:cookie_defaults(Scheme) :: CookieAttributes when Scheme :: term(), % gleam/http.Scheme CookieAttributes ::...

I don't think anyone is working on that and the majority of the code would probably be shared no matter which way round we do it. If anyone finds either...

Brilliant! When you're happy with it and feel it's ready to use make a PR to the awesome list and we'll close this issue. Thanks!

Thanks for sharing this! There are some very cool and exciting ideas here. The conditional compilation for different runtimes is something that I think we will need for sure. Let's...

Oh I see, it is based upon the version of the release so it checks that the Versions are the same rather than that the two different versions are compatible...

A smaller reproduction: ```rust fn run(x: Result(Int, Nil)) -> Result(Float, Nil) { case x { Ok(_) -> Ok(1.0) Error(_) -> x } } ``` Here Gleam knows that `x` is...

Great suggestion! This would be very handy. To implement this I think we would need to change the current processes' `group_leader`, so it would depend upon OTP code. The standard...

Elixir ships with multiple OTP applications, the one closest to `gleam_stdlib` is `elixir`, and it doesn't contain ExUnit testing code or `capture_io`. I expect that this is so that production...

It looks like the Erlang function can return an error, but it doesn't document why this might happen. I would be interested in knowing more about that