Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Convert READMEs to Markdown
- Loading branch information
Paul Cochrane
committed
Mar 7, 2015
1 parent
ac749ad
commit 82ac038
Showing
8 changed files
with
57 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,37 @@ | ||
| 99 Problems In Perl | ||
| ==================== | ||
| # 99 Problems In Perl | ||
|
|
||
| Based on the problems from | ||
| http://www.ic.unicamp.br/~meidanis/courses/mc336/2006s2/funcional/L-99_Ninety-Nine_Lisp_Problems.html | ||
| (which is stored here for future use). | ||
|
|
||
| Save solutions as PXX-author.pl as in other directories where XX is the problem | ||
| Save solutions as `PXX-author.pl` as in other directories where XX is the problem | ||
| number and author is the....author! | ||
|
|
||
| Please include a specification describing the problem and, ideally, a | ||
| description of your solution and the perl6 features that it uses. | ||
|
|
||
| Use this as a template for your solutions: | ||
|
|
||
| use v6; | ||
| use v6; | ||
|
|
||
| # Specification: | ||
| # PXX (*) Problem copied from L-99_Ninety-Nine_Lisp_Problems.html | ||
| # You are encouraged to modify the specification to fit perl6 thinking. | ||
| # For example, P21 originally implied returning a copy of the list, | ||
| # since LISP does not have mutable lists; you may change the wording to | ||
| # reflect this, or change the spec to allow modification in-place. | ||
| # | ||
| # Example: (preferably in the form of a REPL session) | ||
| # > say 'Hello, world!' | ||
| # Hello, world! | ||
| # Specification: | ||
| # PXX (*) Problem copied from L-99_Ninety-Nine_Lisp_Problems.html | ||
| # You are encouraged to modify the specification to fit perl6 thinking. | ||
| # For example, P21 originally implied returning a copy of the list, | ||
| # since LISP does not have mutable lists; you may change the wording to | ||
| # reflect this, or change the spec to allow modification in-place. | ||
| # | ||
| # Example: (preferably in the form of a REPL session) | ||
| # > say 'Hello, world!' | ||
| # Hello, world! | ||
|
|
||
|
|
||
| # Explanation of your answer, discussion of perl6 features used | ||
| # We create a function which returns its argument to needlessly complicate a | ||
| # hello, world program | ||
| # Explanation of your answer, discussion of perl6 features used | ||
| # We create a function which returns its argument to needlessly complicate a | ||
| # hello, world program | ||
|
|
||
| sub my_func ($x) { | ||
| return $x | ||
| } | ||
| sub my_func ($x) { | ||
| return $x | ||
| } | ||
|
|
||
| say my_func('Hello, world!') | ||
| say my_func('Hello, world!') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,11 @@ | ||
| Project Euler | ||
| ============= | ||
| # Project Euler | ||
|
|
||
| http://projecteuler.net/ | ||
|
|
||
| This is a directory to post answers to project euler questions. | ||
|
|
||
| Use the file format prob000-author.pl, while replacing "000" with the problem number and "author" with your name. For example if I am eric256 and I answer problem No. 1, I will save it as prob001-eric256.pl | ||
| Use the file format `prob000-author.pl`, replacing "000" with the | ||
| problem number and "author" with your name. For example if I am eric256 and | ||
| I answer problem No. 1, I will save it as `prob001-eric256.pl`. | ||
|
|
||
| Thanks for playing! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,12 @@ | ||
| Perlmonks | ||
| ========= | ||
| # Perlmonks | ||
|
|
||
| http://perlmonks.org | ||
|
|
||
| These are answers to various perlmonks questions. | ||
|
|
||
| File Naming | ||
| ----------- | ||
| Please names files like "description-nodeid.pl" | ||
| ## File Naming | ||
|
|
||
| Replacing description with a description ;) and nodeid with the node that the code is in reply to. | ||
| Please names files like `description-nodeid.pl` | ||
|
|
||
| Replacing description with a description ;) and nodeid with the node that | ||
| the code is in reply to. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,13 @@ | ||
| Winter Scripting Games | ||
| ====================== | ||
| # Winter Scripting Games | ||
|
|
||
| http://www.microsoft.com/technet/scriptcenter/funzone/games/default.mspx | ||
|
|
||
| This is a directory to post solutions to the winter scripting games events. It is further divided by difficulty and year (beginner-2008, advanced-2007, etc.) | ||
| This is a directory to post solutions to the winter scripting games events. | ||
| It is further divided by difficulty and year (beginner-2008, advanced-2007, | ||
| etc.) | ||
|
|
||
| Use the file format event000-author.pl replacing 000 with the problem number and author with your name. For example if I am eric256 and I answer problem one I will save it as event001-eric256.pl | ||
| Use the file format `event000-author.pl` replacing 000 with the problem number | ||
| and author with your name. For example if I am eric256 and I answer problem | ||
| one I will save it as `event001-eric256.pl`. | ||
|
|
||
| Thanks for playing! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,7 @@ | ||
| Perl 6 Examples Documentation | ||
| ============================= | ||
| # Perl 6 Examples Documentation | ||
|
|
||
| Documentation where possible, should be inline in the example. | ||
| There are always other documents required. Create a sensible name, | ||
| where possible include in the form: | ||
|
|
||
| DirectoryName-ProgramName.pod (.txt, .html) | ||
|
|
||
|
|
||
| License Information | ||
| ------------------- | ||
| See ../README | ||
| DirectoryName-ProgramName.pod (.txt, .html) |