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 997731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:04:54+00:00 2026-05-16T07:04:54+00:00

I define namespace inside a clojure lib without ‘, (ns myproject.hello) But, I use

  • 0

I define namespace inside a clojure lib without ‘,

(ns myproject.hello) 

But, I use ‘ for using it.

(use 'myproject.hello)

Why is this? Is there any logic behind this? In gosh (dialect of scheme), I use without ‘ i.e. (use myproject) Why is this irregularity?

  • 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-16T07:04:55+00:00Added an answer on May 16, 2026 at 7:04 am

    Short answer: ns is a macro, so its arguments are not evaluated. use is a function, so its arguments must be quoted to prevent the compiler from evaluating them.

    The use/require functions were not part of the original design of Clojure, they got added by contributors. They are in need of an overhaul.

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

Sidebar

Related Questions

I have created this simple program to learn shared_ptr using namespace std; #define Yes
I'd like to define a class type inside my namespace, but I can't think
I have the following class #ifndef Container_H #define Container_H #include <iostream> using namespace std;
Code looks like that #include <cstdlib> #include <iostream> using namespace std; #define n 3;
I have a using statement defined like this in codebehind: using Name = Extremely.Long.And.Unwieldy.Namespace
I was wondering, considering this code: namespace A\B; use A\B as AB; use \Z\V
Im trying to define a class friend function outside the namespace like this: namespace
Consider having the following header file (c++): myclass.hpp #ifndef MYCLASSHPP_ #define MYCLASSHPP_ namespace A
I am trying to define a dynamic var in a different namespace. The Lobos
In standard library, I found that namespace std is declared as a macro. #define

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.