From 50d4eb27bf2e4132952f8c1e0d4a50c59d51c156 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sat, 10 Oct 2009 14:04:22 -0500 Subject: [PATCH] add missing usings --- core/classes/tuple/tuple-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/classes/tuple/tuple-docs.factor b/core/classes/tuple/tuple-docs.factor index cc67075168..45d3931448 100644 --- a/core/classes/tuple/tuple-docs.factor +++ b/core/classes/tuple/tuple-docs.factor @@ -129,7 +129,7 @@ ARTICLE: "tuple-inheritance-example" "Tuple subclassing example" } "Rectangles and parallelograms use the same algorithm for computing the area, whereas they use different algorithms for computing perimiter. Also, rectangles and parallelograms both have " { $snippet "width" } " and " { $snippet "height" } " slots. We can exploit this with subclassing:" { $code - "USING: math.constants math.functions ;" + "USING: accessors kernel math math.constants math.functions ;" "GENERIC: area ( shape -- n )" "GENERIC: perimiter ( shape -- n )" ""