factor: fix load-all

modern-harvey3
Doug Coleman 2019-09-28 14:13:05 -05:00
parent 7e46618316
commit 511ecb4e84
2 changed files with 3 additions and 2 deletions

View File

@ -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>

View File

@ -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 )