mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
Documentation fix.
This commit is contained in:
parent
3873b1c98a
commit
8164792927
@ -273,12 +273,6 @@
|
||||
//! UCG binary operators follow the typical operator precedence for math. `*` and `/` are higher precendence than
|
||||
//! `+` and `-` which are higher precedence than any of the comparison operators.
|
||||
//!
|
||||
//! ```ucg
|
||||
//! 1+1 == 2; // this will be a type error. The + expects an integer but it has a boolean expression
|
||||
//! // on the right.
|
||||
//! (1+1) == 2; // this succeeds because the parentheses force evaluation of the addition first.
|
||||
//! ```
|
||||
//!
|
||||
//! #### Copy expressions
|
||||
//!
|
||||
//! ucg Tuples support a form of reuse with copy on write semantics. You can copy a tuple and selectively overwrite fields or add new
|
||||
|
Loading…
x
Reference in New Issue
Block a user