Internal types

Brandon Elam Barker edited this page Jul 3, 2018 · 7 revisions

Internal types are introduced in the file pats_staexp2.sats, and having a better understanding of how these types relate to actual ATS types will be helpful in debugging.

  • S2Eapp - an application term.
  • S2Ecst - a type constant (for instance, int, bool, list, etc.)
  • S2Eeff - function effects.
  • S2Eexi - an existentially quantified type.
  • S2Eint - machine precision integer.
  • S2Eintinf - infinite precision integer; commonly used for integer sorts in most compiled versions of atsopt (patsopt).
  • S2Evar - a (typically universally quantified) variable.
  • S2Etop(knd=0; T) means T?
  • S2Etop(knd=1; T) means T?!
  • S2EVar - an (existentially quantified) unification variable introduced by the typechecker.
  • S2RTBASpre(s) - predicative sort s.
  • S2RTBASimp(1; s) - impredicative sort s.
  • S2RTfun - refers to a functional sort.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.