view lab3/check.mli @ 4:9f5c8e19f204 tip basis

Oops: fix for lab0
author Mike Spivey <mike@cs.ox.ac.uk>
date Mon, 15 Oct 2018 21:58:03 +0100
parents 5dd13b8deb54
children
line wrap: on
line source
(* lab3/check.mli *)
(* Copyright (c) 2017 J. M. Spivey *)

open Tree

(* |annotate| -- check tree for type errors and annotate with definitions *)
val annotate : program -> unit

(* |Semantic_error| -- exception raised if error detected *)
exception Semantic_error of string * Print.arg list * int