https://github.com/moedevelops/tupler
Use constructors directly with tuples
https://github.com/moedevelops/tupler
Last synced: 4 months ago
JSON representation
Use constructors directly with tuples
- Host: GitHub
- URL: https://github.com/moedevelops/tupler
- Owner: MoeDevelops
- License: mit
- Created: 2024-06-30T16:51:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-30T16:52:24.000Z (almost 2 years ago)
- Last Synced: 2026-02-01T14:46:17.454Z (5 months ago)
- Language: Gleam
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tupler
[](https://hex.pm/packages/tupler)
[](https://hexdocs.pm/tupler/)
```sh
gleam add tupler
```
```gleam
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 .
## Development
```sh
gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell
```