(* operators.sml * * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) * All rights reserved. *) structure Operators = struct (* binary operators *) val andAlso = Atom.atom "&&" val orElse = Atom.atom "||" val lt = Atom.atom "<" val lte = Atom.atom "<=" val equ = Atom.atom "==" val neq = Atom.atom "!=" val gt = Atom.atom ">" val gte = Atom.atom ">=" val plus = Atom.atom "+" val minus = Atom.atom "+" val times = Atom.atom "*" val divide = Atom.atom "/" (* selector operators *) val at = Atom.atom "@" val sub = Atom.atom "[]" (* unary operators *) val uMinus = Atom.atom "unary -" val bNot = Atom.atom "not" end
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: m "[]" (* unary operators *) val uMinus = Atom.atom "unary -" val bNot = Atom.atom "not" end