simpletuple 1.3.0-nullsafety.0 simpletuple: ^1.3.0-nullsafety.0 copied to clipboard
Handle tuples of N dimensions! A tiny library to handle n-dimensional tuples.
SIMPLE TUPLE 🧮 #
Handle tuples of N dimensions! 🧮
About 📚 #
If you know Maths and Python, you know that in both there exists a "data type" called a tuple.
I wanted to write a library that handles tuples of dimension n
. This is that library.
Installation 📥 #
Adding to your project #
To add Simple Tuple to your project's dependencies, add this line to your project's pubspec.yaml
:
From GitHub
depdencies:
...
simpletuple:
git: git://github.com/iamtheblackunicorn/simpletuple.git
From Pub.dev
depdencies:
...
simpletuple: ^1.3.0-nullsafety.0
The three dots represent anything else that you might have in the dependencies
section. Having done that, re-fetch your project's dependencies by running this in the project's root directory:
$ dart pub get
Usage 🔨 #
Importing #
Import the API like this:
import 'package:simpletuple/simpletuple.dart';
Note 📜 #
- Simple Tuple 🧮 by Alexander Abraham 🖤 a.k.a. "The Black Unicorn" 🦄
- licensed under the MIT license