Now I've got a hang of composing structural types, all sorts of interesting stuff is falling out of it.

This is an open ended way to construct handlers for inputs.

using optional fields means that any value can pass through, and the handler can simply null check on it's chosen field, and by doing so increases information of the type.

#Haxe #DevLog