This design note specifies the order of evaluation for the select statement.
Dylan Design Notes
Dylan Design Notes: #34: Select Ordering (Clarification)
#34: Select Ordering (Clarification)Version 1, January 1994 Copyright (c) 1993-1994, Apple Computer
The match-object expressions in the clauses are evaluated in order. Once a match is found, the following match-object expressions, in this and subsequent clauses, are not evaluated at all.
select (x instance?) <integer> => "It's an integer"; <number> => "Fractional number"; otherwise "Not a number!" end select
Next chapter: #35: Remove Transcendental Functions (Change)