factor: fix load-all except for two issues

locals-and-roots
Doug Coleman 2016-06-22 16:32:38 -07:00
parent e6aedf0d4c
commit 6c006203e7
5 changed files with 16 additions and 15 deletions

View File

@ -28,17 +28,17 @@ IN: benchmark.regex-dna
: do-replacements ( string -- string' )
{
{ R/ B/ "(c|g|t)" }
{ R/ D/ "(a|g|t)" }
{ R/ H/ "(a|c|t)" }
{ R/ K/ "(g|t)" }
{ R/ M/ "(a|c)" }
{ R/ N/ "(a|c|g|t)" }
{ R/ R/ "(a|g)" }
{ R/ S/ "(c|t)" }
{ R/ V/ "(a|c|g)" }
{ R/ W/ "(a|t)" }
{ R/ Y/ "(c|t)" }
{ R[[ B]] "(c|g|t)" }
{ R[[ D]] "(a|g|t)" }
{ R[[ H]] "(a|c|t)" }
{ R[[ K]] "(g|t)" }
{ R[[ M]] "(a|c)" }
{ R[[ N]] "(a|c|g|t)" }
{ R[[ R]] "(a|g)" }
{ R[[ S]] "(c|t)" }
{ R[[ V]] "(a|c|g)" }
{ R[[ W]] "(a|t)" }
{ R[[ Y]] "(c|t)" }
} [ re-replace ] assoc-each ;
SYMBOL: ilen

View File

@ -2,7 +2,8 @@
! See http://factorcode.org/license.txt for BSD license.
USING: accessors calendar images images.viewer kernel math
math.parser models models.arrow random sequences threads timers
ui ui.gadgets ui.gadgets.labels ui.gadgets.packs ;
ui ui.gadgets ui.gadgets.labels ui.gadgets.packs
ui.gadgets.status-bar ui.gadgets.worlds ;
IN: rosetta-code.image-noise
: bits>pixels ( bits -- bits' pixels )

View File

@ -591,7 +591,7 @@ SYNTAX: \ GLSL-SHADER:
scan-word
f
lexer get line>>
scan-object
scan-object ";" expect
] dip
shader boa
over reset-generic

View File

@ -34,7 +34,7 @@ can-administer-blogs? define-capability
TUPLE: entity id author date content ;
GENERIC: entity-url ( entity -- url )
GENERIC: entity-url ( entity -- url ) ;
M: entity feed-entry-url entity-url ;

View File

@ -44,7 +44,7 @@ entity f
{ "contents" "CONTENTS" TEXT +not-null+ }
} define-persistent
GENERIC: entity-url ( entity -- url )
GENERIC: entity-url ( entity -- url ) ;
M: entity feed-entry-title summary>> ;