annotate src/elab_ops.sig @ 1529:a8a538800278

Better wildification, avoiding some unintentional variable capture
author Adam Chlipala <adam@chlipala.net>
date Sat, 06 Aug 2011 13:07:50 -0400
parents c7b9a33c26c8
children d6c45026240d
rev   line source
adamc@81 1 (* Copyright (c) 2008, Adam Chlipala
adamc@81 2 * All rights reserved.
adamc@81 3 *
adamc@81 4 * Redistribution and use in source and binary forms, with or without
adamc@81 5 * modification, are permitted provided that the following conditions are met:
adamc@81 6 *
adamc@81 7 * - Redistributions of source code must retain the above copyright notice,
adamc@81 8 * this list of conditions and the following disclaimer.
adamc@81 9 * - Redistributions in binary form must reproduce the above copyright notice,
adamc@81 10 * this list of conditions and the following disclaimer in the documentation
adamc@81 11 * and/or other materials provided with the distribution.
adamc@81 12 * - The names of contributors may not be used to endorse or promote products
adamc@81 13 * derived from this software without specific prior written permission.
adamc@81 14 *
adamc@81 15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
adamc@81 16 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
adamc@81 17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
adamc@81 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
adamc@81 19 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
adamc@81 20 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
adamc@81 21 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
adamc@81 22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
adamc@81 23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
adamc@81 24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
adamc@81 25 * POSSIBILITY OF SUCH DAMAGE.
adamc@81 26 *)
adamc@81 27
adamc@81 28 signature ELAB_OPS = sig
adamc@81 29
adam@1303 30 exception SubUnif
adam@1303 31
adamc@623 32 val liftKindInKind : int -> Elab.kind -> Elab.kind
adamc@623 33 val subKindInKind : int * Elab.kind -> Elab.kind -> Elab.kind
adamc@623 34
adamc@623 35 val liftKindInCon : int -> Elab.con -> Elab.con
adamc@623 36 val subKindInCon : int * Elab.kind -> Elab.con -> Elab.con
adamc@623 37
adamc@81 38 val liftConInCon : int -> Elab.con -> Elab.con
adamc@81 39 val subConInCon : int * Elab.con -> Elab.con -> Elab.con
adamc@81 40 val subStrInSgn : int * int -> Elab.sgn -> Elab.sgn
adamc@81 41
adamc@81 42 val hnormCon : ElabEnv.env -> Elab.con -> Elab.con
adamc@81 43
adamc@1034 44 val identity : int ref
adamc@1034 45 val distribute : int ref
adamc@1034 46 val fuse : int ref
adamc@1034 47 val reset : unit -> unit
adamc@1034 48
adamc@81 49 end