Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6878991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:47:29+00:00 2026-05-27T04:47:29+00:00

I was trying to do something I thought would be simple but has turned

  • 0

I was trying to do something I thought would be simple but has turned out to be not so and I think the solution might give me a deeper understanding of clojure so I figured I’d ask here.

I want to be able to run the following from a clojure REPL:

(map #(doc %) v)

where v is a vector of…something, I’m not sure what. The goal was to print out the doc strings for some sequence of functions, but I’m not sure how to express that vector. I’ve tried a couple of things: (I’ll pick a few functions out at random)

[+ - first set]
['+ '- 'first 'set]
[`+ `- `first `set]
[(var +) (var -) (var first) (var set)]
[`~+ `~- `~first `~set]

None work. I also tried to apply the doc function but that doesn’t work since doc is a macro and as such cannot be an argument to apply. What am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:47:30+00:00Added an answer on May 27, 2026 at 4:47 am
    (doseq [f ['+ '- 'first 'set]] (eval (list 'doc f)))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to do something I thought would be simple. I have a
I'm trying to do something which I thought would be fairly simple. Get IIS
I'm trying to do something that I thought ought to be reasonably simple but
I am trying something very simple, but for some reason it does not work.
I'm trying to do something I thought would be very simple: draw a hardcoded
I'm trying to do something I thought would be simple. Query SimpleGeo , take
I'm trying to do something that I thought was simple but doesn't appear to
actually I thought I was trying something really simple. ControllerClassNameHandlerMapping sounded great to produce
I'm trying something like this, but this example does not work. jsObj = {};
I thought this would be rather simple but it seems the empty method is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.