]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/spelling/spelling.factor
http.download: fix downloading into a directory if it didnt exist
[factor.git] / extra / spelling / spelling.factor
index f3c512f9cd2a8eaafeb603eff2a273a4c7065dc9..52c28626875b6218348b9d3302814f2cdf0c770a 100644 (file)
@@ -58,7 +58,7 @@ CONSTANT: ALPHABET "abcdefghijklmnopqrstuvwxyz"
 
 MEMO: default-dictionary ( -- counts )
     URL" https://norvig.com/big.txt" "big.txt" temp-file
-    download-once-to load-dictionary ;
+    download-once-as load-dictionary ;
 
 : (correct) ( word dictionary -- word/f )
     corrections ?first ;