vault backup: 2023-09-05 21:31:34

This commit is contained in:
2023-09-05 21:31:34 +02:00
parent 6a133cd288
commit 633eb688ba
3 changed files with 24 additions and 9 deletions

View File

@ -11,7 +11,7 @@ It's a simple language to write.
- **;;** is the end of the line
```Ocaml
_: int=3 (*That a Caml answer to the previus program*)
_: int=3 (*That a Caml answer to the previous program*)
```
```Ocaml

View File

@ -81,8 +81,23 @@ if a == b then
else false
(*logical or*)
if a == b then
if a && b then
true
else if a && if !b
else if a && not b then
true
else if not a && b then
true
else
false
(*logical implication*)
if a && b then
true
else if not a && b then
true
else if not a && not b then
true
else
false
```