]> matita.cs.unibo.it Git - helm.git/blob - helm/software/lambda-delta/basic_rg/brgReduction.mli
the TypeError exception is back in place inside the Type modules
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.              
9      \ /   This software is distributed as is, NO WARRANTY.              
10       V_______________________________________________________________ *)
11
12 type machine
13
14 val empty_machine: machine
15
16 val get: (Brg.bind -> 'a) -> machine -> int -> 'a
17
18 val push: (machine -> 'a) -> machine -> Brg.bind -> 'a
19
20 val xwhd: (machine -> Brg.term -> 'a) -> machine -> Brg.term -> 'a 
21
22 (* arguments: expected type, inferred type *) 
23 val are_convertible:
24    (unit -> 'a) -> (unit -> 'a) -> 
25    ?si:bool -> machine -> Brg.term -> machine -> Brg.term -> 'a
26
27 val message1: 
28    string -> machine -> Brg.term -> Brg.message
29
30 val message3: 
31    string -> string -> ?sm3:string -> string -> 
32    machine -> Brg.term -> Brg.term -> ?m3:machine -> Brg.term -> Brg.message