Description
A command behaves as a function does if it is followed by an adjacent expression that can serve as its argument or argument list. In addition, if it appears as the value of an expression typed by the user at top level (i.e., not in a file), then it gets executed with empty argument list.
i1 : (f = Command ( () -> 2^30 );)
|
i2 : f
o2 = 1073741824
|
i3 : (c = Command "date";)
|
i4 : c
Thu Sep 28 12:48:20 AM EDT 2023
o4 = 0
|