Skip to content
Permalink
Browse files

forgotten cons pretty printing

  • Loading branch information...
namin committed Feb 19, 2019
1 parent ff003d7 commit fb9ef3fdbdc1bb373560efa8a2c095875e5993d7
Showing with 1 addition and 0 deletions.
  1. +1 −0 popl18/base.scala
@@ -297,6 +297,7 @@ object Base {
case Lift(a) => s"(lift ${pretty(a,env)})"
case Fst(a) => s"(car ${pretty(a,env)})"
case Snd(a) => s"(cdr ${pretty(a,env)})"
case Cons(a,b) => s"(cons ${pretty(a,env)} ${pretty(b,env)})"
case Equ(a,b) => s"(eq? ${pretty(a,env)} ${pretty(b,env)})"
case Plus(a,b) => s"(+ ${pretty(a,env)} ${pretty(b,env)})"
case Minus(a,b) => s"(- ${pretty(a,env)} ${pretty(b,env)})"

0 comments on commit fb9ef3f

Please sign in to comment.
You can’t perform that action at this time.