This is so cool.

It's possible to do open ended Tuples in Haxe by using Church encoding.

I'm using this to index constructors but it would go for anything.

It uses a Church like encoding to keep a record of the type of all previous values.

It acts almost exactly like a linked list, each previous value is of a known, and independent type, just call `get()` for the value or `previous()` as many times as you need.

#Haxe #DevLog

I've written some accessors, so the hope is that I can just go

`final constructors = constructorI.cons(constructorII).cons(constructorIII);`

and then
`some_hook.constuctors.two().call(correct_type);`

#DevLog