00:00:00 --- log: started retro/10.10.24 00:02:08 --- quit: docl (Ping timeout: 255 seconds) 00:38:42 --- join: docl (~luke@71-36-112-46.ptld.qwest.net) joined #retro 02:39:11 --- quit: docl (Ping timeout: 255 seconds) 07:04:39 the new trimLeft is much cleaner than than the old one: 07:04:39 - : trimLeft ( $-$ ) 07:04:39 - dup [ !src ] &getLength bi 07:04:39 - for dup @ 32 !if rdrop ;then 1+ next drop @src ; 07:04:41 + : trimLeft ( $-$ ) [ @+ [ 32 = ] [ 0 <> ] bi = ] while 1- ; 07:07:14 I also cleaned up trimRight using the tri combinator: 07:07:14 : trimRight ( $-$ ) 07:07:14 - buffer 0 1024 fill 07:07:14 - buffer over getLength copy 07:07:14 - buffer trim ; 07:07:15 + buffer [ 0 1024 fill ] [ over getLength copy ] [ trim ] tri ; 07:15:12 i'm starting to understand combinators 07:15:44 i had read about them in the factor cods but they are starting to make sense for me now 07:15:56 s/cods/docs/ 07:20:28 I'm finding them to be useful so far 08:25:33 --- join: docl (~luke@71-36-112-46.ptld.qwest.net) joined #retro 13:43:46 --- quit: ncv (Quit: KVIrc Insomnia 4.0.0, revision: , sources date: 20090520, built on: 2010/07/07 01:16:10 UTC http://www.kvirc.net/) 23:59:59 --- log: ended retro/10.10.24