package comby

  1. Overview
  2. Docs
A tool for structural code search and replace that supports ~every language

Install

Dune Dependency

Authors

Maintainers

Sources

1.4.1.tar.gz
md5=cd732f90664bc686eaa1134f42c8f7cd
sha512=81c7cd1d70cddee4d1679710a95c50d22f8dc60e48f24554009a5f944eb23e9124ca9aa99357b9879a5a60ca2dbcf976011f53afb442a7f15642e509255a0326

doc/src/comby.pipeline/sequential.ml.html

Source file sequential.ml

1
2
3
4
5
6
let process_interactive ~f paths =
  Fold.interactive ~init:([], 0) ~f paths

let process ~f bound_count = function
  | `Paths paths -> Fold.paths ~init:0 ~f bound_count paths
  | `Zip (zip_file, paths) -> Fold.with_zip zip_file ~f:(fun zip -> Fold.zip_paths ~init:0 ~f zip paths bound_count)
OCaml

Innovation. Community. Security.