Louis Pilfold

Results 1867 comments of Louis Pilfold

The question is how the parameterised module you've mentioned would work. This functionality was removed from the BEAM so we would not be able to use modules as the basis...

Erlang's behaviours are not composable or parameterisable, they are very limited compared to interfaces in most languages. Injecting the implementation is also always done manually by the programmer by providing...

Hello! The language server doesn't provide syntax highlighting so you'll need to open this in the repo for whatever Gleam syntax highlighter you are using. edit: I'll move this to...

We could possibly make tea for matter preserve a deliberate empty line here, but I am not 100% convinced yet. I would be interested in hearing what other people think...

I think there are two different things here! First is constants- I think they would be a good addition to the language, please open an issue for them in the...

It could work! It's worth noting that `if` is already a keyword in Gleam, so it may be clearer to people coming from other languages if we use that keyword....

Me too! I should point out that that isn't the same though as it evaluates both expressions, while if may short circuit.

I would like something like `cond` rather than Erlang's `if`, so that non-guard functions can be used. I lean towards `if else` like syntax in order to make it more...

Everything in Gleam is an expression, and Gleam is statically typed, so what would a if without an else return? All languages with these properties that I'm aware of don't...

We don't really have a unit type, though perhaps Nil could work. I could imagine it being annoying having to add the line returning Nil. I wonder if perhaps it...