Skip to content

Instantly share code, notes, and snippets.

@jassinm
Created May 12, 2012 00:13
Show Gist options
  • Select an option

  • Save jassinm/2663252 to your computer and use it in GitHub Desktop.

Select an option

Save jassinm/2663252 to your computer and use it in GitHub Desktop.

Revisions

  1. jassinm revised this gist May 12, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions mongoclient.clj
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@

    (defn send_multipart [socket iter]

    (map mq/send-more (repeat socket) (pop iter))
  2. jassinm created this gist May 12, 2012.
    4 changes: 4 additions & 0 deletions mongoclient.clj
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    (defn send_multipart [socket iter]

    (map mq/send-more (repeat socket) (pop iter))
    (mq/send socket (last iter)))