vault backup: 2023-10-30 10:55:49
This commit is contained in:
parent
98353b4b7a
commit
3befd5bcb4
11
.obsidian/workspace.json
vendored
11
.obsidian/workspace.json
vendored
@ -7,14 +7,6 @@
|
|||||||
"id": "f6fad86667169cdd",
|
"id": "f6fad86667169cdd",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
|
||||||
"id": "424b516a4faa9ad5",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "empty",
|
|
||||||
"state": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "ab0d8956c63542fc",
|
"id": "ab0d8956c63542fc",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
@ -27,8 +19,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"currentTab": 1
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "vertical"
|
"direction": "vertical"
|
||||||
|
14
Exam.md
14
Exam.md
@ -1,16 +1,8 @@
|
|||||||
## Multiple insertion
|
## Multiple insertion
|
||||||
```
|
```
|
||||||
# let rec remove_x x = function
|
# let split sep = function
|
||||||
| [] -> []
|
| [] -> []
|
||||||
| e::t ->
|
| e::t ->
|
||||||
if (e = x) then
|
let aux
|
||||||
remove_x x t
|
|
||||||
else e::remove_x x t
|
|
||||||
|
|
||||||
val remove_x: 'a -> 'a list -> 'a list
|
|
||||||
|
|
||||||
# let rec remove_duplicates = function
|
|
||||||
| [] -> []
|
|
||||||
| e::t -> remove_duplicates (remove_x e)::t
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user