You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

shokwave comments on Computer Science and Programming: Links and Resources - Less Wrong Discussion

29 Post author: XiXiDu 29 May 2012 01:17PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (47)

You are viewing a single comment's thread. Show more comments above.

Comment author: shokwave 30 May 2012 05:37:53AM 0 points [-]

(cons upvote arundel-post)

Comment author: sketerpot 30 May 2012 05:45:47AM *  5 points [-]

As written, that wouldn't actually upvote anything; it would evaluate the variables upvote and arundel-post and build a cons cell containing them, which would serve as the value of the expression. Since we're talking scheme, functions called for their side-effects customarily end with an exclamation mark. I would write something like this:

(upvote! arundel-post)

Here endeth the extreme pedantry! And now, before I forget, I'm going to go upvote the post instead of just talking about upvoting it.

Comment author: shokwave 30 May 2012 07:39:15AM 1 point [-]

So, when the Little Schemer told me to cons some cake onto my face...

I get to have my cake and eat it too?