[E-Lang] stl-0.8.9k: Syntax Changes
Tyler Close
tclose@oilspace.com
Sun, 21 Jan 2001 14:25:09 -0000
Markm wrote:
> def _ (a :(any < 7), _) :(any > 3) { ... a ... }
So...
def foo() :any { ... }
Means foo() returns an object of unspecified type.
def foo() :integer { ... }
Means foo() returns an object of type integer.
def foo() :(any > 3) { ... }
Means foo() return an object of unspecified type greater than 3, so
does this parse:
def foo() :(integer > 3) { ... }
If so, is it the same as:
def foo() :(integer & any > 3) { ... }
Tyler