From 10d91d712cec0c078408e56218c1d15b6943e053 Mon Sep 17 00:00:00 2001 From: Eduardo Cavazos Date: Fri, 8 Aug 2008 12:06:10 -0500 Subject: [PATCH] ui.gadgets.plot: method on callable --- basis/ui/gadgets/plot/plot.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/ui/gadgets/plot/plot.factor b/basis/ui/gadgets/plot/plot.factor index cf48c5ab9d..52cd2faed7 100644 --- a/basis/ui/gadgets/plot/plot.factor +++ b/basis/ui/gadgets/plot/plot.factor @@ -28,7 +28,7 @@ TUPLE: function function color ; GENERIC: plot-function ( plot object -- plot ) -M: quotation plot-function ( plot quotation -- plot ) +M: callable plot-function ( plot quotation -- plot ) >r dup plot-range r> '[ dup @ 2array ] map line-strip ; M: function plot-function ( plot function -- plot )