Relational Operations


Comparing the values of two atoms

  • Equal to

  • (= atom1 atom2)
  • Not equal to

  • (/= atom1 atom2)
  • Less than

  • (< atom1 atom2)
  • Less than or equal to

  • (<= atom1 atom2)
  • Greater than

  • (> atom1 atom2)
  • Greater than or equal to

  • (>= atom1 atom2)


    Examples

      (= 3 3.0)

    T

      (/= 2 3 4 8)

    T

      (= "ab" "ab")

    T

      (< 1 3 7)

      (< 2 4 4 7)

    This website has been archived and is no longer maintained.