Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.07 KB

README.md

File metadata and controls

19 lines (14 loc) · 1.07 KB

FrankenTuples.jl

Build status codecov

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.