remove uses of |> in roseTree and its tests

This commit is contained in:
Simon Cruanes 2015-01-26 11:57:39 +01:00
parent aa3c57e4a8
commit a5b78fd940
2 changed files with 4 additions and 2 deletions

View file

@ -110,7 +110,7 @@ module Zipper = struct
| last_left::tail_rev_lefts ->
Some {
tree = last_left ;
lefts = tail_rev_lefts |> List.rev ;
lefts = List.rev tail_rev_lefts;
rights = zipper.tree::zipper.rights ;
parents = zipper.parents
}

View file

@ -1,5 +1,7 @@
open Containers_misc
open OUnit
open CCFun
module RoseTree = Containers_misc.RoseTree
let format_node = Format.pp_print_int