]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/ng_refiner/nRstatus.mli
Simplest typing for status records.
[helm.git] / helm / software / components / ng_refiner / nRstatus.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 (* $Id: nCicRefiner.ml 9802 2009-05-25 15:39:26Z tassi $ *)
13
14 class type g_status =
15  object
16   inherit NCicCoercion.g_status
17   inherit NCicLibrary.g_status
18  end
19
20 class status :
21  object ('self)
22   inherit NCicCoercion.status
23   inherit NCicLibrary.status
24   inherit g_status
25   method set_rstatus: #g_status -> 'self
26  end
27
28 module Serializer:
29  sig
30   include NCicLibrary.Serializer with type status = status 
31   val require: baseuri:NUri.uri -> (#status as 'status) -> 'status
32  end
33
34 class type g_dumpable_status =
35  object
36   inherit g_status
37   method dump: Serializer.obj list
38  end
39
40 class dumpable_status :
41  object ('self)
42   inherit status
43   inherit g_dumpable_status
44   method set_dump: Serializer.obj list -> 'self
45   method set_dumpable_status: #g_dumpable_status -> 'self
46  end