Timeline for Find the Factorial!
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | CommunityBot | Commonmark migration | |
| S Jan 25, 2016 at 13:25 | history | edited | user45941 | CC BY-SA 3.0 | better formatting |
| S Jan 25, 2016 at 13:25 | history | suggested | Elliot A. | CC BY-SA 3.0 | fix title of post |
| Jan 25, 2016 at 12:37 | review | Suggested edits | |||
| S Jan 25, 2016 at 13:25 | |||||
| Oct 14, 2015 at 18:31 | comment | added | Andrew | This is way old now, but... Can save 1 more character by reversing the if/else: filter f($x){if($x){$x*(f($x-1))}else{1}}. And it can be reduced further to 36 characters if it's called via pipeline since it's a filter (e.g. 125|f): filter f{if($_){$_*($_-1|f)}else{1}} | |
| Feb 7, 2011 at 1:57 | history | edited | Ty Auvil | CC BY-SA 2.5 | saved 2 chars using filter instead of function |
| Feb 6, 2011 at 18:50 | history | answered | Ty Auvil | CC BY-SA 2.5 |