From 3cd8dc02d2d2b0cbc07504ef3040cb9439b1e5eb Mon Sep 17 00:00:00 2001 From: Mark <> Date: Wed, 5 Feb 2025 12:12:13 +0100 Subject: [PATCH] update readme --- mers/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mers/README.md b/mers/README.md index ffa5ba7..bed7168 100644 --- a/mers/README.md +++ b/mers/README.md @@ -6,7 +6,7 @@ Mers is a simple, safe programming language. cargo install mers ``` -# examples +## examples ``` "Hello, World!".println @@ -37,7 +37,7 @@ We create a function using the `->` syntax, then assign it to the `say_hello` variable. We then call the function with the `()` argument. -# safety & type system +## safety & type system Mers is type-checked, which guarantees that a valid mers program will not crash @@ -84,7 +84,7 @@ some_number_as_string := (some_number).concat some_value := if some_string.eq(some_number_as_string) { some_number } else { some_string } ``` -# simplicity +## simplicity mers only has a few different expressions: @@ -151,7 +151,7 @@ without copying the entire value. When a copy of a value is changed, it is (at least partially) copied before mers changes it. -# more examples +## more examples ``` if "a".eq("b") {