FrankenTuples.jl

Part Tuple, part NamedTuple... it's alive!
Author ararslan
Popularity
10 Stars
Updated Last
2 Years Ago
Started In
January 2019

FrankenTuples.jl

Travis Coveralls

This package defines a type, FrankenTuple, which is like a cross between a Tuple and a NamedTuple; it contains both positional and named elements.

Accursed creator! Why did you form a monster so hideous that even you turned from me in disgust?

A function call has the form f(args...; kwargs...). Take away the function, and you get (args...; kwargs...), a tuple with both positional and named elements. No one Base type currently models this, so FrankenTuple was created as an experiment to see if and when this precise structure could be useful.