ToString instance for HaskCore
authorAdam Megacz <megacz@cs.berkeley.edu>
Mon, 14 Mar 2011 08:46:43 +0000 (01:46 -0700)
committerAdam Megacz <megacz@cs.berkeley.edu>
Mon, 14 Mar 2011 08:46:43 +0000 (01:46 -0700)
src/HaskCore.v

index 3d5f860..244139a 100644 (file)
@@ -48,4 +48,7 @@ Variable hetmet_brak_name   : CoreName.              Extract Inlined Constant he
 (* the magic wired-in name for the modal type elimination form *)
 Variable hetmet_esc_name    : CoreName.              Extract Inlined Constant hetmet_esc_name  => "PrelNames.hetmet_esc_name".
 
+Variable coreExprToString : @CoreExpr CoreVar -> string.  Extract Inlined Constant coreExprToString => "outputableToString".
 
+Instance CoreExprToString : ToString (@CoreExpr CoreVar) :=
+  { toString := coreExprToString }.
\ No newline at end of file