aboutsummaryrefslogtreecommitdiff
path: root/lib/syntax/check.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/syntax/check.mli')
-rw-r--r--lib/syntax/check.mli15
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/syntax/check.mli b/lib/syntax/check.mli
index c831b67..28ff49e 100644
--- a/lib/syntax/check.mli
+++ b/lib/syntax/check.mli
@@ -8,11 +8,16 @@ type t
val build :
(module S.Analyzer
- with type Expression.t = 'a
- and type Instruction.t = 'b
- and type Location.t = 'c) ->
- 'a Id.typeid * 'b Id.typeid * 'c Id.typeid * t
-(** Build a new check from a module following S.Analyzer signature *)
+ with type Expression.t = _
+ and type Expression.t' = _
+ and type Instruction.t = _
+ and type Instruction.t' = _
+ and type Location.t = 'a) ->
+ 'a Id.typeid * t
+(** Build a new check from a module following S.Analyzer signature.
+
+ Return the result type which hold the final result value, and checker
+ itself. *)
module type App = sig
val t : t array