tupler
gleam add tupler
import 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.
Development
gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell