Sha256: 0a7236b3e093273682a4a217de799398ce5e05c8f0b1709949115afce6a7ff50

Contents?: true

Size: 240 Bytes

Versions: 176

Compression:

Stored size: 240 Bytes

Contents

open Core.Std

type 'a t = { value : 'a; left : 'a t option; right : 'a t option }
  [@@deriving sexp]

let rec equal veq a b =
  veq a.value b.value &&
  Option.equal (equal veq) a.left b.left &&
  Option.equal (equal veq) a.right b.right

Version data entries

176 entries across 176 versions & 1 rubygems

Version Path
trackler-2.0.6.41 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.40 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.39 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.38 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.37 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.36 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.35 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.34 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.33 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.32 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.31 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.30 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.29 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.28 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.27 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.26 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.25 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.24 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.23 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.22 tracks/ocaml/exercises/zipper/tree.ml