Full documentation of the type system is yet to be written.