glib
A collection (eventually) of utilities written solely in Gleam (i.e. no erlang/js dependency)
gleam add glib
import glib/map
pub fn main() {
let m = map.new()
|> map.put("Key1","value")
io.debug(map.get(m, "Key1"))
// -> Some("value")
}
Further documentation can be found at https://hexdocs.pm/glib.
Development
gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell