aboutsummaryrefslogtreecommitdiff
path: root/lib/syntax/check.mli
diff options
context:
space:
mode:
authorChimrod <>2023-10-22 07:14:20 +0200
committerChimrod <>2023-10-25 17:56:30 +0200
commit2a2198e91063684a1b19974acc19c25b55266724 (patch)
treeb43e4b1b62c61fd828a53d6b261c790ffa797ae0 /lib/syntax/check.mli
parent2cad3abf180c14e0c026033d65f4fb895b5348f7 (diff)
Refactoring the API
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