Timeline for Palindrome test in Haskell
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 8, 2014 at 2:55 | comment | added | Jimmy Hoffa |
@cdated not to my knowledge, just as a rule I favor composition over application, I suppose that may be a bit of style? Possibly just something I've inadvertently learned from reading others code. I feel like it's conventional to use composition over application where you can, if for no other reason than the precedence of $ can mix you up if you're not careful
|
|
| Nov 8, 2014 at 2:46 | comment | added | cdated |
Is there a reason to do (init . tail) w instead of init $ tail w?
|
|
| Nov 8, 2014 at 2:45 | comment | added | Jimmy Hoffa | @cdated yeah that's what I was basically drawing above, I still picture that in my head :) | |
| Nov 8, 2014 at 2:44 | comment | added | cdated | My favorite method of remembering head, tail, init, last: s3.amazonaws.com/lyah/listmonster.png | |
| Mar 27, 2013 at 2:33 | history | edited | Jimmy Hoffa | CC BY-SA 3.0 |
added 94 characters in body
|
| Mar 27, 2013 at 1:29 | history | answered | Jimmy Hoffa | CC BY-SA 3.0 |