]> gitweb.factorcode.org Git - factor.git/commitdiff
project-euler: fix shadowing of permutations?.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 26 Apr 2012 23:58:09 +0000 (16:58 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 26 Apr 2012 23:58:09 +0000 (16:58 -0700)
extra/project-euler/049/049.factor
extra/project-euler/070/070.factor

index 08244ea0235c93271a78f466f15a1297d80b8f9e..dac34da9ff86704136e9f65e0b9644bb6f690629 100644 (file)
@@ -2,6 +2,7 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: arrays byte-arrays fry kernel math math.combinatorics math.functions
     math.parser math.primes project-euler.common sequences sets ;
+FROM: project-euler.common => permutations? ;
 IN: project-euler.049
 
 ! http://projecteuler.net/index.php?section=problems&id=49
index eed179851e7302f89a6f47e5679b4cf2629079e7..38aa022b3d125eb0e659cb751a9f497be9373d3b 100644 (file)
@@ -3,6 +3,7 @@
 ! A copy of the license is available at http://factorcode.org/license.txt
 USING: arrays assocs combinators.short-circuit kernel math math.combinatorics
     math.functions math.primes math.ranges project-euler.common sequences ;
+FROM: project-euler.common => permutations? ;
 IN: project-euler.070
 
 ! http://projecteuler.net/index.php?section=problems&id=70