vault backup: 2023-09-05 22:20:03
This commit is contained in:
@ -71,7 +71,7 @@ when there is the keyword ``len``and ``in`` that create a local definition. A lo
|
||||
|
||||
### Multiple definitions
|
||||
```Ocaml
|
||||
# let r = 1. and pi : 3.14 in 2 *. pi *. r;; (*local version*)
|
||||
# let r = 1. and pi = 3.14 in 2 *. pi *. r;; (*local version*)
|
||||
- : float = 6.28
|
||||
|
||||
# let x = 1.2 and y = "Hello";;
|
||||
|
@ -56,7 +56,7 @@ There is two families in the language word, the imperative and the declarative
|
||||
|
||||
In the declarative languages we have
|
||||
- The functional languages
|
||||
- $$f:x -> x+1$$
|
||||
- $f:x -> x+1$
|
||||
- The logical languages
|
||||
$$x\in{N}$$
|
||||
$$x>1$$
|
||||
@ -64,4 +64,3 @@ $$x<3$$
|
||||
$$\text{-> } x=2$$
|
||||
|
||||
|
||||
Latest update 2023-09-04
|
||||
|
Reference in New Issue
Block a user