Skip to content

Instantly share code, notes, and snippets.

@suryagaddipati
Created August 22, 2010 19:48
Show Gist options
  • Save suryagaddipati/544190 to your computer and use it in GitHub Desktop.
Save suryagaddipati/544190 to your computer and use it in GitHub Desktop.
; answers to latest question
@(:answers (question 1))
; first answer to latest question
(first @(:answers (question 2)))
;{:question_id 3542317, :score 0, :down_vote_count 0, :creation_date 1282501642, :answer_id 3542746, :last_edit_date 1282504223, :owner {:user_id ;270929, :user_type "registered", :display_name "desco", :reputation 1828, :email_hash "c823ecdede70a4efe7615ba9931412cf"}, :title "F# - Recursive ;Read XML Data", :up_vote_count 0, :answer_comments_url "/answers/3542746/comments", :last_activity_date 1282504223, :view_count 29, ;:community_owned false, :accepted false}
; owner of first answer to latest question
(:owner (first @(:answers (question 2))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment