projects
/
coq-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10b56b9
)
ToString instance for HaskCore
author
Adam Megacz
<megacz@cs.berkeley.edu>
Mon, 14 Mar 2011 08:46:43 +0000
(
01:46
-0700)
committer
Adam Megacz
<megacz@cs.berkeley.edu>
Mon, 14 Mar 2011 08:46:43 +0000
(
01:46
-0700)
src/HaskCore.v
patch
|
blob
|
history
diff --git
a/src/HaskCore.v
b/src/HaskCore.v
index
3d5f860
..
244139a
100644
(file)
--- a/
src/HaskCore.v
+++ b/
src/HaskCore.v
@@
-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