Manual - Expressions Up
 Contents   News   View 

Expr's Previous Next

Expr's

Start Quantum again and reproduce what you see in the Quantum session below.



Sequences of Quantum objects surrounded by parentheses ( and ) denote Quantum Expr's.  Quantum Expr's, like (+ x y), normally represent function applications.  You can create Expr's directly by calling Quantum's function Expr.  Use functions Length and Elt to count and access the elements of an Expr.  Function Args returns all the arguments of an Expr as an Array.  Use Eval to evaluate Expr's that you create before passing them to Quantum's mathematical functions.


©2004-2024 Planet Quantum Kelly Roach