-
Notifications
You must be signed in to change notification settings - Fork 0
Data And Operators
Stardust D.L edited this page Jan 18, 2018
·
2 revisions
- Real numbers with precision 1e-100.
"str content"
-
+
concat -
*
repeat
For more information, please use
view(x)
to get the list of the operations of collection
-
(a,b,c)
Tuple -
[a,b,c]
List -
{a,b,c}
Set -
+
concat -
-
different -
*
cartesian product
- function:
f=(arg1,arg2)=>func{...}
- class object:
a=class{}
- class definition:
a=(_)=>class{...}
- iterator:
i=iter{...}
Items | Description |
---|---|
null |
Null value |
true True
|
True value |
false False
|
False value |
Items | Description |
---|---|
+ |
Plus |
- |
Minus |
* |
Multiply |
/ |
Divide |
% |
Mod |
** |
Pow |
& |
And |
| |
Or |
^ |
Xor |
! |
Not |
== |
Equal |
!= |
Unequal |
< |
Smaller |
<= |
Not bigger |
> |
Bigger |
>= |
Not smaller |
= |
Assign |
:= |
ReAssign |
+= |
Plus and Assign |
-= |
Minus and Assign |
*= |
Multiply and Assign |
/= |
Divide and Assign |
%= |
Mod and Assign |
**= |
Pow and Assign |
=> |
Lambda expression |
in |
Be contained |
a[index] |
Index expression |
a[l,r] |
Slice |
return <val> |
Return values |
break |
Break statement |
continue |
Continue statement |