mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
core: add regex to language guide
This commit is contained in:
parent
bdbb2d7c5b
commit
f5ebade4e8
@ -24,6 +24,7 @@ To learn more about the details of memory management, check out [Memory.md](http
|
||||
10.0 ;; Double
|
||||
true ;; Bool
|
||||
"hello" ;; &String
|
||||
\#"hello" ;; &Regex
|
||||
\e ;; Char
|
||||
[1 2 3] ;; (Array Int)
|
||||
```
|
||||
@ -37,6 +38,7 @@ Float
|
||||
Double
|
||||
Bool
|
||||
String
|
||||
Regex
|
||||
Char
|
||||
(Array t)
|
||||
(Fn [<arg-type1> <arg-type2> ...] <return-type>) ;; Function type
|
||||
|
Loading…
Reference in New Issue
Block a user