diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 84b2045..c66c683 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -13,7 +13,7 @@ "state": { "type": "markdown", "state": { - "file": "Algo/Courses/Chapter 6 - Lists (Exercises).md", + "file": "Algo/Courses/Chapter 6 - Lists.md", "mode": "source", "source": false } @@ -69,8 +69,7 @@ } ], "direction": "horizontal", - "width": 300, - "collapsed": true + "width": 300 }, "right": { "id": "b83c16dd7908c658", @@ -86,7 +85,7 @@ "state": { "type": "backlink", "state": { - "file": "Algo/Courses/Chapter 6 - Lists (Exercises).md", + "file": "Algo/Courses/Chapter 6 - Lists.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -103,7 +102,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "Algo/Courses/Chapter 6 - Lists (Exercises).md", + "file": "Algo/Courses/Chapter 6 - Lists.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -126,7 +125,7 @@ "state": { "type": "outline", "state": { - "file": "Algo/Courses/Chapter 6 - Lists (Exercises).md" + "file": "Algo/Courses/Chapter 6 - Lists.md" } } }, @@ -157,10 +156,10 @@ "command-palette:Open command palette": false } }, - "active": "c473a791e2b34194", + "active": "f1000ea0f0e6db20", "lastOpenFiles": [ - "Algo/Courses/Chapter 7 - High Order (exercises).md", "Algo/Courses/Chapter 6 - Lists (Exercises).md", + "Algo/Courses/Chapter 7 - High Order (exercises).md", "Algo/Courses/Chapter 6 - Lists.md", "Algo/Séminaire/Chapter 1 - CAML basics.md", "Algo/CM/CM du 04 octobre.md", diff --git a/Algo/Courses/Chapter 6 - Lists.md b/Algo/Courses/Chapter 6 - Lists.md index 05a0d82..5ba4a78 100644 --- a/Algo/Courses/Chapter 6 - Lists.md +++ b/Algo/Courses/Chapter 6 - Lists.md @@ -16,7 +16,7 @@ _: int list = [1, 2, 3] > In CAML, all the element in the list have to be of the same type. ```Ocaml -# let l1 = ['H', 'i'];; +# let l1 = ['H'; 'i'];; val l1 : char list = ['H'; 'i'] # let l2 = ['C'; 'a'; 'm'; 'l'];; val l2 : char list = ['C' ; 'a' ;'m'; 'l']