From 6c41337f1ff88c2a869c25ed0f1b88fe2955232b Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 27 Oct 2023 14:54:10 +0200 Subject: [PATCH] vault backup: 2023-10-27 14:54:10 --- Algo/Courses/Chapter 7 - High Order (exercises).md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Algo/Courses/Chapter 7 - High Order (exercises).md b/Algo/Courses/Chapter 7 - High Order (exercises).md index 0c4cc9f..79432d7 100644 --- a/Algo/Courses/Chapter 7 - High Order (exercises).md +++ b/Algo/Courses/Chapter 7 - High Order (exercises).md @@ -74,4 +74,8 @@ let rec partition p l = | h==t> let (l1, l2) = partition p t in if p h then (h::l1,l2) else (l1, h::l2);; -val partition : ('a -> bool) -> 'a list -> 'a list * 'a list = \ No newline at end of file +val partition : ('a -> bool) -> 'a list -> 'a list * 'a list = +``` + +## Ex 2.7 +```Ocaml