1. IMPERATIVE FEATURES IN OCAML
functional language:
- immutable data structure
- identifiers instead of variables
- pure functions
but imperative features are useful:
- exceptions to alter control flow
- ops to consume input and output
- mutable data structures
- for and while loop for iterations
2. GETTING AND HANDLING YOUR EXCEPTIONS
- exceptions in ocaml …