From 34e77ec40885735285cf5e61dc63ca1fc8a6465e Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Tue, 15 Nov 2011 19:15:19 -0800 Subject: [PATCH] strings: inline >string and 1string Fixes #340 --- core/strings/strings.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/strings/strings.factor b/core/strings/strings.factor index e57edf282a..61f41257f2 100644 --- a/core/strings/strings.factor +++ b/core/strings/strings.factor @@ -74,9 +74,9 @@ M: string clone M: string resize resize-string ; inline -: 1string ( ch -- str ) 1 swap ; +: 1string ( ch -- str ) 1 swap ; inline -: >string ( seq -- str ) "" clone-like ; +: >string ( seq -- str ) "" clone-like ; inline M: string new-sequence drop 0 ; inline