Duplicate code detection across OCaml packages
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

dupfind: drop unused Normalize.expr_size export

Found via [prune clean]. The .ml implementation isn't used anywhere
outside the module either; sub_hashes carries its own size accounting.

-3
-3
lib/normalize.mli
··· 16 16 val pp_expr : expr Fmt.t 17 17 (** [pp_expr] pretty-prints the simplified expression. *) 18 18 19 - val expr_size : expr -> int 20 - (** [expr_size e] counts the number of nodes in the simplified AST. *) 21 - 22 19 val sub_hashes : min_size:int -> expr -> (string * int) list 23 20 (** [sub_hashes ~min_size e] walks the tree and returns [(hash, size)] pairs for 24 21 every sub-expression whose size is at least [min_size]. *)