From 363db3edd2b23305c513154242b4c72d9f5a22cb Mon Sep 17 00:00:00 2001 From: Mike Fikes Date: Sun, 21 May 2017 19:23:28 -0400 Subject: [PATCH] Visit Eductions as sequences --- planck-cljs/src/planck/pprint/data.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/planck-cljs/src/planck/pprint/data.cljs b/planck-cljs/src/planck/pprint/data.cljs index 7506369f..e8411c30 100644 --- a/planck-cljs/src/planck/pprint/data.cljs +++ b/planck-cljs/src/planck/pprint/data.cljs @@ -56,8 +56,9 @@ fipp.visit/IVisitor (visit-unknown [this x] - [:text (pr-str x)]) - + (if (instance? Eduction x) + (visit this (sequence x)) + [:text (pr-str x)])) (visit-nil [this] (wrap-theme :results-font theme "nil"))