]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/rosetta-code/count-the-coins/count-the-coins.factor
Rename and add sorting words
[factor.git] / extra / rosetta-code / count-the-coins / count-the-coins.factor
index 922c028650f8725418e6e26e1453bcdd2cd13625..83706269713040e93d2f1c5c67a32294babb81d6 100644 (file)
@@ -42,4 +42,4 @@ PRIVATE>
 ! How many ways can we make the given amount of cents
 ! with the given set of coins?
 : make-change ( cents coins -- ways )
-    members [ ] inv-sort-with (make-change) ;
+    members inv-sort (make-change) ;