Browse Source

fix readme - function type for v1

221V 1 month ago
parent
commit
c39d0917ef
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/readme.md

+ 2 - 2
docs/readme.md

@@ -159,7 +159,7 @@ between first argiment and second (and next) must be at least comma and 1 whites
 ### 2.4.2 pattern matching examples
 ```
 // left = function type, right = arguments type
-bool = string str
+bool has_begin_test = string str =
 has_begin_test "test" ++ _ = true
 has_begin_test _ = false
 
@@ -175,7 +175,7 @@ bool has_begin_test(string str){
 
 ```
 // left = function type, right = arguments type
-bool = string str, out string rest
+bool has_begin_test = string str, out string rest =
 has_begin_test    "test" ++ rest = true
 has_begin_test    _ = false