Factorial base numbers indexing permutations of a collection: Difference between revisions
Content deleted Content added
m Minor code improvement. |
m →{{header|Wren}}: Minor tidy |
||
Line 1,846: | Line 1,846: | ||
{{libheader|Wren-math}} |
{{libheader|Wren-math}} |
||
{{libheader|Wren-fmt}} |
{{libheader|Wren-fmt}} |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "random" for Random |
||
import "/math" for Int |
import "./math" for Int |
||
import "/fmt" for Fmt |
import "./fmt" for Fmt |
||
var genFactBaseNums = Fn.new { |size, countOnly| |
var genFactBaseNums = Fn.new { |size, countOnly| |