MathGroup Archive 1990

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problem with Complement?


> Why does the Complement function reverse lists under some circumstances?

It sorts lists into a canonical order (aka "standard order").  See the
description of Complement on page 607 and the description of Order on
page 660.  "Canonical order has several properties.  Smaller numbers
of a particular type come first.  Symbols are ordered
lexicographically according to the textual names.  Strings are ordered
lexicographically.  Shorted expressions come first."

  -- David Jacobson


  • Prev by Date: User defined aliases
  • Next by Date: DOS Shell?
  • Previous by thread: User defined aliases
  • Next by thread: DOS Shell?