We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c5ebb7 commit 609ce75Copy full SHA for 609ce75
max.clinc
std/max.clinc
@@ -0,0 +1,11 @@
1
+(defun max_inner (myless best_so_far mylist)
2
+ (if (not mylist) best_so_far
3
+ (if (a myless (list best_so_far (f mylist)))
4
+ (max_inner myless (f mylist) (r mylist))
5
+ (max_inner myless best_so_far (r mylist))
6
+ )
7
8
+)
9
+(defun max (myless mylist)
10
11
0 commit comments