Skip to content

ararslan/FrankenTuples.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.