gleam
gleam copied to clipboard
⭐️ A friendly language for building type-safe, scalable systems!
The gleam formatter is great, and I appreciate the no-configuration approach. Bikeshedding formatting rules is one of my least favorite things to do! There is one feature from elm-format that...
In Gleam 0.12.0: ```gleam type This = That type That { That } ``` gives: ``` error: Unknown type ┌─ /home/ed/dev/gleam_bugs/gleam_bugs/src/gleam_bugs.gleam:2:3 │ 2 │ That │ ^^^^ did you mean...
```rust import a import a.{one} import a.{two} ``` Is formatted as ```rust import a.{one, two} ``` Note imports with an `as` clause should not be merged.
Currently you can write ``` pub const x = ``` which to me seems nonsensical (it will just get truncated). It gets compiled into Erlang's `` which then gets interpreted...
In Gleam 0.12.0 ```gleam fn something() -> Bool { let some_long_variable_name = 1 let some_other_long_variable_name = 2 let some_third_long_variable_name = True let some_fourth_long_variable_name = False some_long_variable_name > some_other_long_variable_name || some_third_long_variable_name...
It would be nice to be able to re-export a type or function from another module. Here's an idea for a syntax: ```rust // one.gleam pub type MyType { MyConstructor...
Gleam should be able to infer the types of this code: ```rust pub fn call_with_self(f) { f(f) } ``` Currently it cannot. https://elixirforum.com/t/gleam-a-statically-typed-language-for-the-erlang-vm/20349/165
I successfully ran the project and exited by pressing Ctrl+C. Then, when I run `gleam run` the following error is displayed: ``` /private/tmp/gleam-20220628-94884-o8g5z1/gleam-0.22.1/compiler-core/src/build/project_compiler.rs:348 Metadata loaded for already loaded module: Module...
Closes #1766.