]> gitweb.factorcode.org Git - factor.git/commitdiff
math.combinatorics: remove duplicate nths-unsafe.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 6 Apr 2013 21:20:53 +0000 (14:20 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 6 Apr 2013 21:29:47 +0000 (14:29 -0700)
basis/math/combinatorics/combinatorics.factor

index 490d49699200f620c215efb88d22296f6d8ca8d2..831bbd1812cbb49a75c1b56af6583499199a68be 100644 (file)
@@ -49,9 +49,6 @@ MEMO: factorial ( n -- n! )
 : permutation-iota ( seq -- iota )
     length factorial iota ; inline
 
-: nths-unsafe ( indices seq -- seq' )
-    [ [ nth-unsafe ] curry ] keep map-as ;
-
 PRIVATE>
 
 : permutation ( n seq -- seq' )