Sha256: 150987764c8f50fa260697b857cb05f8a3a88c23f2f15318d0c327f024761c9b

Contents?: true

Size: 243 Bytes

Versions: 68

Compression:

Stored size: 243 Bytes

Contents

open Core_kernel

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

68 entries across 68 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.179 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.178 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.177 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.176 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.175 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.174 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.173 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.172 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.171 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.170 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.169 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.167 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.166 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.165 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.164 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.163 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.162 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.161 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.160 tracks/ocaml/exercises/zipper/tree.ml