Federico Bianchi
Federico Bianchi
currently the compiler generates this functions, (useful for composition on hamler): 'and'/1 = fun(_0) -> fun(_1) -> let = in case of when 'true' -> 'true' when 'true' -> 'false'...
``` hamler: Left (RecordField (Label {lblTok = SourceToken {tokAnn = TokenAnn {tokRange = SourceRange {srcStart = SourcePos {srcLine = 99, srcColumn = 3}, srcEnd = SourcePos {srcLine = 99, srcColumn...
```gleam let name = "marimota" let padded_name = bit_array.slice( bit_array.append(, bit_array_copy(, 22)), 0, 44, ) ``` produces erlang ```erlang Name@1 = , Padded_name = begin _pipe = gleam_stdlib:bit_array_slice( gleam@bit_array:append(, binary:copy(,...
``` import gleam/erlang/atom.{type Atom, create_from_string as atom} ``` throws a warning, create_from_string is unused
example ```gleam import gleam/list io.debug(1) ``` current behavior: "did u mean list instead?" searching the current scope proposed behavior: "such a module exists as gleam/io but isn't imported" instead (if...
these changes are required to deal with: imported enums nested messages normalize protobuf package name
``` 4 for i, c := range gleam_type.Constructors { 5 gpb_enum_name := enum.Values()[i].Name().LowerSnakeCase() 6 7 extract_patterns = append(extract_patterns, fmt.Sprintf("%s -> atom.create_from_string(\"%s\")", c.Render(), gpb_enum_name)) 8 reconstruct_patterns = append(reconstruct_patterns, fmt.Sprintf("x if x...
opening this discussion some guys documenting the move lang in multiple langs using mdbook choose this as solution https://github.com/funkill/mdbook-i18n original thread: https://github.com/rust-lang/mdBook/issues/5 other options?