From ec7afb3ea65c51d82ccf65bce6d42a5aa31b7662 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Tue, 4 Aug 2015 19:04:09 -0700 Subject: [PATCH] locals.prettyprint: remove "|" as a symbol. --- basis/locals/prettyprint/prettyprint.factor | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/basis/locals/prettyprint/prettyprint.factor b/basis/locals/prettyprint/prettyprint.factor index b0fbebbf31..bd4bedad6a 100644 --- a/basis/locals/prettyprint/prettyprint.factor +++ b/basis/locals/prettyprint/prettyprint.factor @@ -1,12 +1,9 @@ ! Copyright (C) 2007, 2008 Slava Pestov, Eduardo Cavazos. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs kernel locals locals.types -prettyprint.backend prettyprint.sections prettyprint.custom -sequences words ; +USING: accessors kernel locals locals.types prettyprint.backend +prettyprint.custom prettyprint.sections sequences words ; IN: locals.prettyprint -SYMBOL: | - : pprint-var ( var -- ) #! Prettyprint a read/write local as its writer, just like #! in the input syntax: [| x! | ... x 3 + x! ] @@ -20,7 +17,7 @@ M: lambda pprint* > pprint-vars - \ | pprint-word + "|" text f > pprint-elements block> \ ] pprint-word block> ;