marionnet-dev team mailing list archive
-
marionnet-dev team
-
Mailing list archive
-
Message #00947
[Branch ~marionnet-drivers/ocamlbricks/trunk] Rev 511: Added sub-modules Memo and Chain to ListExtra. Memo proposes for lists a general technique for en...
------------------------------------------------------------
revno: 511
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: ocamlbricks
timestamp: Sat 2020-04-25 16:57:19 +0200
message:
Added sub-modules Memo and Chain to ListExtra. Memo proposes for lists a general technique for encapsulating data structures into objects. This technique consists in providing as many methods as many are the interesting properties of the original structure that should be probably computed. Using a lazy value per method, we obtain a simple memoization technique of common properties of the structure. This is also safe w.r.t. the garbage collection: when the object is not used anymore, all its related lazy values disappear with him.
modified:
EXTRA/listExtra.ml
EXTRA/listExtra.mli
--
lp:ocamlbricks
https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk
Your team marionnet-dev is subscribed to branch lp:ocamlbricks.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk/+edit-subscription