kcen·5 anni fa·discussSounds too complicated to do with a reasonable type system and autocomplete, should probably use ML.