factor: fix load-all except for two issues
parent
e6aedf0d4c
commit
6c006203e7
|
@ -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
|
||||
|
|
|
@ -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 )
|
||||
|
|
|
@ -591,7 +591,7 @@ SYNTAX: \ GLSL-SHADER:
|
|||
scan-word
|
||||
f
|
||||
lexer get line>>
|
||||
scan-object
|
||||
scan-object ";" expect
|
||||
] dip
|
||||
shader boa
|
||||
over reset-generic
|
||||
|
|
|
@ -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 ;
|
||||
|
||||
|
|
|
@ -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>> ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue