blob: 08d5ec39d25632a492b771d26395e82c258cb9f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Solutions by Aaron Sherman.
Challenge #1: The first Euclid non-prime
This puzzle afforded me the opportunity to advertize a bit for the
Math::Sequences module by showing how a new entry would be defined.
It otherwise simply prints the solution number uninterestingly.
Challenge #2: Common path prefixes
I thought that this would be a good chance to show off Perl 6's
user-defined operator features including the use of a user-defined
operator in a reduction meta-operator.
The use of the program is simple and can be shown using --help
|