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.8.16 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.15 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.14 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.13 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.12 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.11 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.10 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.9 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.8 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.7 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.6 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.5 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.4 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.3 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.2 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.8.1 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.7.0 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.44 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.43 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.0.6.42 tracks/ocaml/exercises/zipper/tree.ml