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

  • Home
  • SEARCH
  • 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 8084397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:47:04+00:00 2026-06-05T17:47:04+00:00

Perhaps you can help me find this in the docs. I’m using pound-quote to

  • 0

Perhaps you can help me find this in the docs. I’m using pound-quote to be able to pass around unevaluated function names prior to execution. For example:

(#'cons 1 ())
;(1)

(defn funcrunner [func a b]
  (func a b))

(funcrunner cons 'a ())
;(a)

(funcrunner 'cons 'a ())
'()

(funcrunner #'cons 'a ())
;(a)

#'cons
;#'clojure.core/cons

(resolve (symbol 'cons))
;#'clojure.core/cons

My guess is that this is a reader macro.

My question is (a) What is the pound quote (#’) shorthand for? (b) Can you explain what it is doing? (c) Can you locate it in the docs? (d) Is it actually shorthand for for resolve and symbol functions?

PS – For those not in the US – # is also known as a ‘hash’ or a ‘cross-hash’.

PPS – I’m aware my example makes the need for this somewhat redundant. I’m interested to know if this is completely redundant or there are specific use cases.

  • 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-06-05T17:47:08+00:00Added an answer on June 5, 2026 at 5:47 pm

    #' is a reader macro that expands to (var foo). What you’re doing here is not passing around unevaluated functions, you’re passing around vars which contain functions. The reason this works the way it does is because vars are functions that look up their contained value and call it:

    user=> (defn foo [x] (+ x 10))
    #'user/foo
    user=> (#'foo 10)
    20
    user=> ((var foo) 10)
    20
    

    Notice that when I defined the function, a var was returned. It looks like what you’ve been doing! 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Perhaps someone can help me out with this one: I'm using a basic search
I've searched everywhere for this, but I can't seem to find a solution. Perhaps
i've searched for days but cant find an answer, perhaps you guys can help.
I couldn't find this on here already, and am hoping somebody can help. I
Perhaps any of you can help me with this anoying problem. I have long
Perhaps you can help me. I am writing a windows application in VB.Net. My
An odd error here, perhaps someone can help track down source as it's attempting
I'm apparently laboring under a poor understanding of Python scoping. Perhaps you can help.
Perhaps I'm having a Post-Ballmer-Peak Moment . I'm hoping that someone can help point
This question has been asked before perhaps multiple times, but I can't get the

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.