package acgtk

  1. Overview
  2. Docs
Abstract Categorial Grammar development toolkit

Install

Dune Dependency

Authors

Maintainers

Sources

acgtk-1.5.3.tar.gz
sha256=2743321ae4cc97400856eb503a876cbcbd08435ebc750276399a97481d001d41
md5=04c1e14f98e2c8fd966ef7ef30b38323

doc/acgtkLib.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.