Skip to content

angeldollface/simpletuple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIMPLE TUPLE 🧮

GitHub CI

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:

depdencies:
  ...
  simpletuple:
    git: git://github.com/angeldollface/simpletuple.git

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';

APIs

To inspect the available APIs, read the source code, please. I've split everything by subject so it should be easy to understand.

Note 📜

  • Simple Tuple 🧮 by Alexander Abraham 🖤 a.k.a. "Angel Dollface" 🎎 🎀
  • Licensed under the MIT license.