summaryrefslogtreecommitdiff
path: root/cook/debug.sld
diff options
context:
space:
mode:
Diffstat (limited to 'cook/debug.sld')
-rw-r--r--cook/debug.sld3
1 files changed, 3 insertions, 0 deletions
diff --git a/cook/debug.sld b/cook/debug.sld
index 6b7ef33..638c13a 100644
--- a/cook/debug.sld
+++ b/cook/debug.sld
@@ -26,6 +26,9 @@
(list 'step (map cook->list (step-elements y))))
((hash-table? y)
(list 'metadata (cook->list (hash-table->alist y))))
+ ((recipe? y)
+ (list 'recipe (cook->list (recipe-metadata y))
+ (cook->list (recipe-body y))))
((list? y)
(map cook->list y))
(else y)))))