gleam add tuplerimport tupler/construct
pub type Mascot {
Mascot(name: String, language: String, is_awesome: Bool)
}
pub fn main() {
let tuple = #("Lucy", "Gleam", True)
tuple
|> construct.three(Mascot)
}Further documentation can be found at https://hexdocs.pm/tupler.
gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell