calculator Inbuilt functions available sqrt log exp print Defining a function You can define a function like so > let sq(x) = x * x; Defined sq > If and while are also available > let abs(x) = if x < 0 then -x else x;; Defined abs > abs(-15) = 15 >