Skip to content

Reserved Names

Unlocked edited this page Dec 14, 2018 · 1 revision

Reserved names are names which cannot be used for global variables as they already have a purpose elsewhere. They may be used for parameter names, but it should be noted that if they are, shadowing may occur.

List of reserved names in FAI

Core FAI

Note: Many of these names may be illegal names in all cases, not just global definitions, because they are keywords.

  • i
  • true
  • false
  • undefined
  • update
  • memo
  • self
  • if
  • otherwise
  • is
  • where
  • import
  • and
  • or

Numbers built-in

  • real
  • imaginary
  • floor
  • ceiling
  • round
  • abs
  • sqrt
  • conjugate
  • sin
  • cos
  • tan
  • asin
  • acos
  • atan
  • log10
  • ln
  • log
  • pi
  • e
  • degreesToRadians
  • radiansToDegrees

Collections built-in

  • length

Types built-in

  • Function
  • Number
  • Boolean
  • String
  • Vector
  • Tuple
Clone this wiki locally