You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List.upto needs to be pushed down, ie called again
on result of first simplification:
eg if len l1 = i
(l1 ++ l2)[:i] --> l1[:i] --> l1
Actually makes insertion_sort work less well, because
it allows ((_ ++ [|_|]) ++ _)[:_]
to be turned into (_ ++ _ :: _)[:_]
and putting the discard boundary at a cons is not yet supported
0 commit comments