gleam
gleam copied to clipboard
⭐️ A friendly language for building type-safe, scalable systems!
Inspired by the discussion https://github.com/gleam-lang/gleam/discussions/1708 I propose a syntax extension that de-sugars: from ```gleam import gleam/result import gleam/javascript/promise // Todo: improve with + as syntax let op2 = with result.then...
### Discussed in https://github.com/gleam-lang/gleam/discussions/1342 Originally posted by **michaeljones** August 12, 2021 To allow for easily finding a function or type within the modules of the package. Possible inspiration: - Elm...
This Gleam code ```gleam pub type Rad { Rad(some: String) } fn update(rad: Rad, with str: String) -> Rad { Rad(str) } pub fn main() { let rad = Rad("a")...
A Point2 is spread into a Point3, which should be an error. ```scala import gleam/io type Point { Point2(a: Int, b: Int) Point3(a: Int, b: Int, c: Int) } pub...
The example posted in the Discord showed `gleam_erlang` displaying autocompletion in the `file` module. I can confirm that this works in that sub-module. Using [mist](https://github.com/rawhat/mist), I get suggestions in the...
This issue describes a problem I ran into while attempting to install Erlang on Ubuntu (on WSL): https://github.com/elixir-lang/elixir-lang.github.com/issues/1575 Specifically, Erlang's PPA (their hosted source for Debian/Ubuntu packages) appears to be...
Currently the Map type copies the entire set on each insertion. Change it to use structural sharing. Using int hashcodes rather than strings would also be good Elm, ReScript, or...
We now use llvm triplets. See the release build for details. asdf should also continue to support the old format. The nightly release can be used to test this functionality...
In the style of https://gleam.run/cheatsheets/gleam-for-elixir-users/
Something like... ```gleam const puppies = map.from_list([ "August", "Dot", "Mady", "Spot", "Toby" ] |> list.map(fn (name) { #(name, Puppy(name, good: True, soft: True)) })) ``` ...turns into... ...which is definitely...