From 2a2198e91063684a1b19974acc19c25b55266724 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Sun, 22 Oct 2023 07:14:20 +0200 Subject: Refactoring the API --- lib/syntax/check.mli | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'lib/syntax/check.mli') 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 -- cgit v1.2.3