lustrec/tools/stateflow/src/common/utils.ml @ 2de7fa82
1 |
let rec fprintf_list ~sep:sep f fmt = function |
---|---|
2 |
| [] -> () |
3 |
| [e] -> f fmt e |
4 |
| x::r -> Format.fprintf fmt "%a%(%)%a" f x sep (fprintf_list ~sep f) r |
5 |
|
6 |
let last l = List.hd (List.rev l) |
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »