mirror of
https://github.com/Dummi26/mers.git
synced 2025-12-12 02:16:51 +01:00
817ed25f96e78869bceafb5af40463a2c9fdc5dd
warning is shown if the condition of an if statement can never be true or false, and the user used the check command. warnings are not shown when you use `mers run`.
mers
See the mers readme for more info.
"Hello, World!".println
Hello, World!
my_var := "Hello, Variable!"
my_var.println
Hello, Variable!
(1, 2, 3, 4).sum.println
10
(1, "2", 3, 4).sum.println
(1, 2, 3, 4).as_list.debug
List<Int> :: [1, 2, 3, 4]
(1.0, 2.0).as_list.debug
List<Float> :: [1, 2]
(1, 2, 3.5).as_list.debug
List<Int/Float> :: [1, 2, 3.5]
int_list := (1, 2, 3).as_list
float_list := (4.5, 6.0).as_list
int_list.chain(float_list).as_list.debug
List<Int/Float> :: [1, 2, 3, 4.5, 6]
Description
Languages
Rust
89.3%
C
10.1%
JavaScript
0.3%