off-side rule

Computing Dictionary

off-side rule definition


A lexical convention due to Landin, allowing the scope of declarations in a program to be expressed by indentation. Any non-whitespace token to the left of the first such token on the previous line is taken to be the start of a new declaration. Used in, for example, Miranda and Haskell.
[P.J. Landin "The Next 700 Programming Languages", CACM vol 9 pp157-165, March 1966]

The Free On-line Dictionary of Computing, © Denis Howe 2010 http://foldoc.org
Cite This Source
Explore Dictionary.com
Previous Definition: off-side
Next Definition: off-site
Words Near: off-side rule
More from Thesaurus.com
Synonyms and Antonyms for off-side rule
More from Reference.com
Search for articles containing off-side rule
More from Dictionary.com Translator
Dictionary.com Word FAQs

Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.

Copyright © 2014 Dictionary.com, LLC. All rights reserved.
  • Please Login or Sign Up to use the Recent Searches feature
FAVORITES
RECENT

;