comparison src/expl_util.sig @ 198:ab86aa858e6c

'Option' datatype encoding
author Adam Chlipala <adamc@hcoop.net>
date Sat, 09 Aug 2008 19:23:31 -0400
parents 8e9f97508f0d
children 354800878b4d
comparison
equal deleted inserted replaced
197:b1b9bcfd8c42 198:ab86aa858e6c
24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 * POSSIBILITY OF SUCH DAMAGE. 25 * POSSIBILITY OF SUCH DAMAGE.
26 *) 26 *)
27 27
28 signature EXPL_UTIL = sig 28 signature EXPL_UTIL = sig
29
30 val classifyDatatype : (string * int * Expl.con option) list -> Expl.datatype_kind
31 29
32 structure Kind : sig 30 structure Kind : sig
33 val mapfold : (Expl.kind', 'state, 'abort) Search.mapfolder 31 val mapfold : (Expl.kind', 'state, 'abort) Search.mapfolder
34 -> (Expl.kind, 'state, 'abort) Search.mapfolder 32 -> (Expl.kind, 'state, 'abort) Search.mapfolder
35 val exists : (Expl.kind' -> bool) -> Expl.kind -> bool 33 val exists : (Expl.kind' -> bool) -> Expl.kind -> bool