USA cities database added

db4
Slava Pestov 2008-04-29 20:44:07 -05:00
parent 4c6a05de50
commit 191ac9efb8
2 changed files with 9 additions and 2 deletions

View File

@ -1,9 +1,14 @@
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: parser sequences words kernel ;
USING: parser sequences words kernel classes.singleton ;
IN: symbols
: SYMBOLS:
";" parse-tokens
[ create-in dup reset-generic define-symbol ] each ;
parsing
: SINGLETONS:
";" parse-tokens
[ create-class-in dup save-location define-singleton-class ] each ;
parsing

View File

@ -1,7 +1,9 @@
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: io.files io.encodings.ascii sequences sequences.lib
math.parser combinators kernel memoize csv symbols inspector
words accessors math.order sorting ;
IN: zip-codes
IN: usa-cities
SINGLETONS: AK AL AR AS AZ CA CO CT DC DE FL GA HI IA ID IL IN
KS KY LA MA MD ME MI MN MO MS MT NC ND NE NH NJ NM NV NY OH OK