Family Day update
This commit is contained in:
parent
aac6731f2c
commit
9ad63ea473
2442 changed files with 39761 additions and 8255 deletions
|
|
@ -22,7 +22,7 @@ IN: rosetta.dinesman
|
|||
5 [1,b] all-permutations [ meets-constraints? ] filter ;
|
||||
|
||||
: >names ( seq -- seq )
|
||||
[ 1 - qw{ baker cooper fletcher miller smith } nth ] map ;
|
||||
[ qw{ baker cooper fletcher miller smith } nth swap 2array ] map-index ;
|
||||
|
||||
: dinesman ( -- )
|
||||
solutions [ >names . ] each ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue