factor: fix load-all
parent
7e46618316
commit
511ecb4e84
|
@ -1,7 +1,8 @@
|
|||
! Copyright (C) 2008, 2009 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: bit-arrays classes growable kernel math parser
|
||||
prettyprint.custom sequences sequences.private vectors.functor ;
|
||||
prettyprint.custom sequences sequences.private vectors.functor
|
||||
vocabs.loader ;
|
||||
IN: bit-vectors
|
||||
|
||||
VECTORIZED: bit bit-array <bit-array>
|
||||
|
|
|
@ -17,7 +17,7 @@ IN: hacker-news
|
|||
"https://hacker-news.firebaseio.com/v0/item/%d.json?print=pretty" sprintf ;
|
||||
|
||||
: hacker-news-items ( n endpoint -- seq' )
|
||||
hacker-news-ids swap short head
|
||||
hacker-news-ids swap shorted head
|
||||
[ hacker-news-id>json-url http-get nip json> ] parallel-map ;
|
||||
|
||||
: hacker-news-top-stories ( n -- seq )
|
||||
|
|
Loading…
Reference in New Issue