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.1.0.21 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.20 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.19 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.18 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.17 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.16 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.15 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.14 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.13 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.12 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.11 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.10 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.9 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.8 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.7 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.6 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.5 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.4 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.3 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.1.0.2 tracks/ocaml/exercises/zipper/tree.ml