gleam
gleam copied to clipboard
⭐️ A friendly language for building type-safe, scalable systems!
i.e. `src/one/two/three.js` and `src/one/two/three.erl`. We will need to track Erlang module names to ensure there are no clashes. For example `src/one/themodule.erl` and `src/two/themodule.erl` in one project is an error. -...
![image](https://user-images.githubusercontent.com/6134406/157773923-89645494-8035-4dba-a8ca-f56a0d876171.png) In the discord we've discovered that vscode ruins the formatting of errors in the problems pane. It uses a lot of space, and it does not preserve indentation. We'll...
## Notes Nice little library. Code looks sensible, though it's a tiny and unnoticed project. I'm surprised this doesn't exist in a more popular library somewhere. https://docs.rs/dep-graph/latest/dep_graph/
Based on a [conversation in Discord](https://discord.com/channels/768594524158427167/768594524158427170/951658093245263913) ./src/ is a great default, but occasionally you run into constraints that require something a bit more customizable. In gleam.toml, we could potentially let...
A few days ago I decided to write a gleam package for password hashing and I decided on the [argon2](https://en.wikipedia.org/wiki/Argon2) algorithm. First, I had to publish an argon2 package for...
I haven't researched this much, but it looks like both Erlang and JavaScript support the `"\x"` escape sequence, e.g. `"\x1b[36mCYAN STRING\x1b[0m"`. Currently, Gleam only allows `"\e"`, but Node.js doesn't seem...
Context: [Discord discussion](https://discord.com/channels/768594524158427167/811254431051808778/939533231936659527)
Prior discussion: https://github.com/gleam-lang/gleam/discussions/1086 ## Syntax ```ocaml let name = "Joe" let messge = "Hello, ${name}!" ``` Here a variable is used with the `${}` interpolation syntax, but any arbitrary Gleam...
see: https://gleam.run/book/tour/modules.html vs https://gleam.run/book/tour/custom-types.html?highlight=named%20access#named-accessors ```gleam request.put_header("content-type", "application/json") ``` versus ```gleam request.some_member ```