Skip to content

Commit

Permalink
enum: fixing a broken test of a working function
Browse files Browse the repository at this point in the history
  • Loading branch information
v-gb authored and gasche committed Jan 8, 2012
1 parent b1d714a commit 65fed89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/batEnum.ml
Expand Up @@ -652,7 +652,7 @@ let switch f e =
let partition = switch

(**T partition
let a,b = partition ((>) 3) (List.enum [1;2;3;4;5;1;5;0]) in List.of_enum a = [4;5;5] && List.of_enum b = [1;2;3;1;0]
let a,b = partition (fun x -> x > 3) (List.enum [1;2;3;4;5;1;5;0]) in List.of_enum a = [4;5;5] && List.of_enum b = [1;2;3;1;0]
**)

(**Q partition
Expand Down

0 comments on commit 65fed89

Please sign in to comment.