Module Hardcaml.TransformSource

Transform circuits to a different representation.

Sourcetype 'a transform_fn' = (Signal.Uid.t -> 'a) -> Signal.t -> 'a
Sourcetype transform_fn = Signal.t transform_fn'
Sourcemodule type TransformFn' = sig ... end
Sourcemodule type TransformFn = sig ... end
Sourcemodule type MakePureCombTransform_arg = sig ... end

functor to build the function to map a signal to a new combinatorial signal representation

functor to build the function to map a signal to a new combinatorial signal representation

simple copying transform

rewrites the list of signals based on the given function