Skip to content
Snippets Groups Projects
Commit 07dff637 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[server] internal documentation of states

parent 3bc694c8
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,10 @@ type 'a array = {
key : 'a -> string ;
iter : ('a -> unit) -> unit ;
getter : (string * ('a -> json)) list ;
mutable current : 'a content option ; (* fast access *)
(* [LC+JS]
The two following fields allow to keep an array in sync
with the current project and still have a polymorphic data type. *)
mutable current : 'a content option ; (* fast access to current project *)
projects : (string , 'a content) Hashtbl.t ; (* indexed by project *)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment