WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

ararslan/FrankenTuples.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 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.

About

Part Tuple, part NamedTuple... it's alive!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages