From 6961d539fe9088a1345fc641bae21300649c1639 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Fri, 28 Dec 2018 13:23:37 -0800 Subject: [PATCH] use public decode in lazy array --- xenomorph/xenomorph/lazy-array.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenomorph/xenomorph/lazy-array.rkt b/xenomorph/xenomorph/lazy-array.rkt index 0eb67175..646ae872 100644 --- a/xenomorph/xenomorph/lazy-array.rkt +++ b/xenomorph/xenomorph/lazy-array.rkt @@ -28,7 +28,7 @@ https://github.com/mbutterick/restructure/blob/master/src/LazyArray.coffee (define orig-pos (pos port)) (pos port (+ stream-starting-pos (* (send @type x:size #f new-parent) index))) (begin0 - (send @type x:decode port new-parent) + (send @type decode port new-parent) (pos port orig-pos))) (pos port (+ (pos port) (* len (send @type x:size #f new-parent))))))