vault backup: 2023-09-12 15:31:50
This commit is contained in:
parent
615167f073
commit
c380a6ff4d
@ -41,3 +41,10 @@ toto
|
|||||||
```Ocaml
|
```Ocaml
|
||||||
# print_string "The answer is: "; print_int 42;;
|
# print_string "The answer is: "; print_int 42;;
|
||||||
The answer is: 42 -: unit = ()
|
The answer is: 42 -: unit = ()
|
||||||
|
|
||||||
|
# 3*2*7; print_string "The answer is : ";;
|
||||||
|
The answer is -: unit = ()
|
||||||
|
Warning 10 [non-unit-statement]: this expression should have type unit.
|
||||||
|
|
||||||
|
# print_string "The answer is: "; 3*2*7;;
|
||||||
|
The answer is: -:int = 42
|
Loading…
x
Reference in New Issue
Block a user