package acgtk

  1. Overview
  2. Docs
Abstract Categorial Grammar development toolkit

Install

Dune Dependency

Authors

Maintainers

Sources

acg-2.1.0-20240219.tar.gz
sha512=5d380a947658fb1201895cb4cb449b1f60f54914c563e85181d628a89f045c1dd7b5b2226bb7865dd090f87caa9187e0ea6c7a4ee3dc3dda340d404c4e76c7c2

doc/acgtk.datalogLib/DatalogLib/ArrayTraversal/Make/index.html

Module ArrayTraversal.MakeSource

Parameters

module E : Evaluator_TYPE

Signature

Sourcetype row = E.cell list

The type of a row

Sourcetype array = row list

The type of the array

Sourceval collect_results : ('a -> E.state -> 'a) -> 'a -> E.state -> array -> 'a

collect_results f acc init a returns f (... (f (f (f acc s1) s2) s3)... ) sN where s1 ... aN are the states when reaching the end of the paths from top to bottom of a such that for all s resulting from the path c1 ; ... ; cK (all paths have this shape) s = E.update (... E.update (E.update (E.update init c1) c2) ...) cK and none of this E.update calls returned a None value (hence the notation abuse of applying E.update to a state instead of a state option in this description).

OCaml

Innovation. Community. Security.