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.139 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.138 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.137 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.136 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.135 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.134 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.133 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.132 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.131 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.130 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.129 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.128 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.127 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.126 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.125 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.124 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.123 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.122 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.121 tracks/ocaml/exercises/zipper/tree.ml
trackler-2.2.1.120 tracks/ocaml/exercises/zipper/tree.ml