Misc Distortions

A few miscellaneous distortions that don't fit into any other category.

Returns the type of the given fragment. Can be used to validate inputs, among other things.

Combines all given inputs into a single, arbitrary number. The same inputs will always produce the same number.

Converts a pattern into a literal representation of itself, to be used when constructing spells.