vault backup: 2023-11-13 13:42:42

This commit is contained in:
Louis Gallet 2023-11-13 13:42:42 +01:00
parent 65fd6fdd02
commit 480ec6cbfe
Signed by: lgallet
SSH Key Fingerprint: SHA256:qnW7pk4EoMRR0UftZLZQKSMUImbEFsiruLC7jbCHJAY
2 changed files with 7 additions and 30 deletions

View File

@ -4,19 +4,15 @@
"type": "split", "type": "split",
"children": [ "children": [
{ {
"id": "f6fad86667169cdd", "id": "d099af2398d7f827",
"type": "tabs", "type": "tabs",
"children": [ "children": [
{ {
"id": "ab0d8956c63542fc", "id": "9f9ffb40dcd212ab",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "markdown", "type": "empty",
"state": { "state": {}
"file": "Exam.md",
"mode": "source",
"source": false
}
} }
} }
] ]
@ -69,8 +65,7 @@
} }
], ],
"direction": "horizontal", "direction": "horizontal",
"width": 300, "width": 300
"collapsed": true
}, },
"right": { "right": {
"id": "b83c16dd7908c658", "id": "b83c16dd7908c658",
@ -86,7 +81,6 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "Exam.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -103,7 +97,6 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "Exam.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
} }
@ -125,9 +118,7 @@
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {}
"file": "Exam.md"
}
} }
}, },
{ {
@ -157,7 +148,7 @@
"command-palette:Open command palette": false "command-palette:Open command palette": false
} }
}, },
"active": "c473a791e2b34194", "active": "9f9ffb40dcd212ab",
"lastOpenFiles": [ "lastOpenFiles": [
"Exam.md", "Exam.md",
"Algo/Courses/Chapter 6 - Lists.md", "Algo/Courses/Chapter 6 - Lists.md",

14
Exam.md
View File

@ -1,14 +0,0 @@
## Multiple insertion
```
# let rec split sep lst =
let rec aux acc current = function
| [], [] -> acc
| [], tail -> current :: acc
| x::xs, _ ->
if sep x then
aux (current::acc) [] (xs, [])
else aux acc (x :: current) (xs, current)
in aux [] [] (lst, [])
val split: ('a -> bool) -> 'a list -> 'a list list = <fun>
```