Timeline for Merge sort in Scheme
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 23, 2016 at 19:04 | answer | added | ben rudgers | timeline score: 2 | |
Sep 28, 2015 at 10:17 | history | edited | C. K. Young | CC BY-SA 3.0 |
Put some vertical space between internal definitions and the procedure bodies. I hope the indentation is still visibly apparent....
|
Feb 18, 2015 at 5:43 | history | edited | C. K. Young |
No. No Schemer worth a salt would tag a Scheme post as [lisp].
|
|
Jul 22, 2014 at 3:21 | history | edited | Alex L |
edited tags
|
|
Mar 23, 2014 at 16:22 | comment | added | C. K. Young |
I ended up creating a truthy=? that uses not . It's like XNOR with a more readable name. :-D
|
|
Mar 23, 2014 at 16:19 | history | edited | C. K. Young | CC BY-SA 3.0 |
Add a `truthy=?` operator that removes the need for the predicate to return a boolean. Thanks to Martin Neal for the idea.
|
Mar 23, 2014 at 16:12 | comment | added | C. K. Young |
@MartinNeal Mostly because, if I'm going there, I may as well define an XNOR operation. Which I'm still considering doing. :-) But actually, I think I can adapt your idea to use not instead, so that instead of using (and foo #t) , I'm just using (not foo) (and swapping the branches, of course). Edit coming up.
|
|
Jul 11, 2012 at 18:13 | comment | added | Marty Neal |
Since you bother to call out the gotcha with lt? , why not fix the code like so: (eq? (and (lt? (car r) (car l)) #t) flip)
|
|
Jun 18, 2012 at 19:55 | comment | added | C. K. Young | @RobertHarvey I'm looking for general critique of style, as well as ways to make the code even more performant (algorithmically speaking, not so much micro-optimisation-wise). I actually do have a more performant version of this code, which I'll post as an answer. Soon. :-) | |
Jun 18, 2012 at 19:53 | comment | added | Robert Harvey | I'm not entirely certain of the protocol here, but are you actually asking a question, or do you just want a general critique? | |
Jun 17, 2012 at 19:35 | history | tweeted | twitter.com/#!/StackCodeReview/status/214441080958107649 | ||
Jun 17, 2012 at 19:23 | history | edited | Rahul Gopinath |
edited tags
|
|
Jun 17, 2012 at 18:29 | history | asked | C. K. Young | CC BY-SA 3.0 |