Commit 164f5d9b authored by POTTIER Francois's avatar POTTIER Francois

Generate more code in [VisitorsRuntimeBootstrap].

parent ae4c6ce2
...@@ -2,4 +2,25 @@ type 'a list = ...@@ -2,4 +2,25 @@ type 'a list =
| [] | []
| (::) of 'a * 'a list | (::) of 'a * 'a list
[@@deriving visitors { variety = "iter"; public = []; polymorphic = true; data = false; nude = true }] and 'a option =
| None
| Some of 'a
and 'a ref =
{ mutable contents: 'a }
and ('a, 'b) result =
| Ok of 'a
| Error of 'b
[@@deriving
visitors { variety = "iter"; public = []; polymorphic = true; data = false; nude = true },
visitors { variety = "map"; public = []; polymorphic = true; data = false; nude = true },
visitors { variety = "endo"; public = []; polymorphic = true; data = false; nude = true },
visitors { variety = "reduce"; public = []; polymorphic = true; data = false; nude = true; ancestors = ["VisitorsRuntime.monoid"] },
visitors { variety = "mapreduce"; public = []; polymorphic = true; data = false; nude = true; ancestors = ["VisitorsRuntime.monoid"] },
visitors { variety = "iter2"; public = []; polymorphic = true; data = false; nude = true },
visitors { variety = "map2"; public = []; polymorphic = true; data = false; nude = true },
visitors { variety = "reduce2"; public = []; polymorphic = true; data = false; nude = true; ancestors = ["VisitorsRuntime.monoid"] },
visitors { variety = "mapreduce2"; public = []; polymorphic = true; data = false; nude = true; ancestors = ["VisitorsRuntime.monoid"] }
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment