using ``H{ } zip-index-as``.

instead of ``<enum> [ swap ] H{ } assoc-map-as``.
char-rename
John Benediktsson 2016-07-16 10:53:36 -07:00
parent 1ce733ef72
commit abbefc96b9
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ regexp.transition-tables sequences sets sorting ;
IN: regexp.minimize
: table>state-numbers ( table -- assoc )
transitions>> keys <enum> [ swap ] H{ } assoc-map-as ;
transitions>> keys H{ } zip-index-as ;
: number-states ( table -- newtable )
dup table>state-numbers transitions-at ;

View File

@ -51,7 +51,7 @@ CONSTANT: categories {
<PRIVATE
MEMO: categories-map ( -- hashtable )
categories <enum> [ swap ] H{ } assoc-map-as ;
categories H{ } zip-index-as ;
CONSTANT: num-chars 0x2FA1E