We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd76773 commit 04c949bCopy full SHA for 04c949b
rosetta-code/rosetta-code.factor
@@ -1,4 +1,4 @@
1
-USING: assocs combinators.short-circuit io.directories
+USING: assocs combinators.short-circuit io io.directories
2
io.encodings.utf8 io.files io.files.unique io.launcher kernel
3
math mediawiki.api namespaces prettyprint regexp sequences sets
4
sorting splitting strings unicode ;
@@ -102,10 +102,10 @@ MEMO: list-category ( title -- members )
102
] with-directory ;
103
104
: save-all-tasks ( -- )
105
- all-tasks [ dup . save-task ] each ;
+ all-tasks [ dup . flush save-task ] each ;
106
107
: save-draft-tasks ( -- )
108
- draft-tasks [ dup . save-task ] each ;
+ draft-tasks [ dup . flush save-task ] each ;
109
110
: with-rosetta-code ( quot -- )
111
[ "https://rosettacode.org/w/api.php" endpoint ] dip
0 commit comments