Murat Kasimov

More about me

Я language (β)

/Я language (β)/Glossary/Subtyping/

Some primitives could be wrapped, unwrapped and rewrapped in order to be used as other ones based on structural subtyping relations.

You can think of subtypes as wrappers and supertypes as contents.

However there are some non-trivial subtyping relations:

`he` : ( i `P` ( ii `P` iii ) ) `AR_____` ( i `P` ii `P` iii ) `he` : ( i `S` ( ii `S` iii ) ) `AR_____` ( i `S` ii `S` iii ) `he` : Unit `AR` i `AR_____` i