Commit 8cdcfdb648953cf78f25491ace34f570accaa723

Thomas de Grivel 2023-11-22T01:50:08

bump version

diff --git a/README.md b/README.md
index 4b30cf1..8c9109d 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# C3 v0.1.8
+# C3 v0.1.9
 
 C3 is a programming language with meta-programmation and a graph
 database embedded into the language. It aims to be the language
@@ -185,6 +185,23 @@ ic3> List.reverse(List.map([1, 2, 3, 4], double))
 Don't forget to revert the changes to `list.facts`.
 
 
+#### Maps
+
+C3 maps are like Elixir maps :
+```
+ic3> a = %{id: 1, title: "My title", message: "Hello, world !"}
+%{id: 1, title: "My title", message: "Hello, world !"}
+ic3> a = %{}
+%{id: 1, title: "My title", message: "Hello, world !"}
+ic3> %{id: id, title: "My title", message: message} = a
+%{id: 1, title: "My title", message: "Hello, world !"}
+ic3> id
+1
+ic3> message
+"Hello, world !"
+```
+
+
 #### Unicode characters
 
 `ic3` fully supports Unicode :
diff --git a/c3.version b/c3.version
index 699c6c6..1a03094 100644
--- a/c3.version
+++ b/c3.version
@@ -1 +1 @@
-0.1.8
+0.1.9