I'm looking for some feedback on keyword namespacing. Say you're writing an API
to be used by external clients that works something like this:
(fetch url :timeout 10)
=> {:status 200, :body "..."}
Would you namespace the :status and :body keywords in the response? What about
the :timeout kwarg
I would not use keyword namespaces in this situation. Users of the "fetch"
function will likely type :timeout, :status, and :body when using this
function. Keyword namespaces would just force users to type longer names
for these.
On Sunday, September 30, 2018 at 9:45:56 PM UTC-4, Michael Gardn
> On Sep 30, 2018, at 18:54, Eric Lavigne wrote:
>
> I would not use keyword namespaces in this situation. Users of the "fetch"
> function will likely type :timeout, :status, and :body when using this
> function. Keyword namespaces would just force users to type longer names for
> these.
Th
can anyone provide me a way how to solve this pproblem. i have to map these
items based on thier input type . the output will be .clj file i have
attached.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@
The code is incorrect, if you want something like this :
(onto/defconcept
BENZODIAZEPINE_MED)
(onto/defconcept
HOSPICE_ENC)
this has the same premise as your previous question in this
post https://groups.google.com/forum/#!topic/clojure/nrAeWCLC-Vc
I think you should consider learning c
this is different one. you want to map thier respective type and put it in
a set of maps
On Monday, October 1, 2018 at 10:16:11 AM UTC+5:30, Pankaj Doharey wrote:
>
> The code is incorrect, if you want something like this :
>
> (onto/defconcept
> BENZODIAZEPINE_MED)
>
> (onto/defconcept
>
Aah, a map in clojure looks like :
{:a 1 :b 2 :c 3}
Which of those symbols in the *.csv* file are keys and values?
On Monday, 1 October 2018 10:18:22 UTC+5:30, venkata sai wrote:
>
> this is different one. you want to map thier respective type and put it in
> a set of maps
>
> On Monday, Oct
i mean this is set of maps you have to map them under one particluar
category
On Monday, October 1, 2018 at 10:22:41 AM UTC+5:30, Pankaj Doharey wrote:
>
> Aah, a map in clojure looks like :
> {:a 1 :b 2 :c 3}
>
> Which of those symbols in the *.csv* file are keys and values?
>
>
> On Monday,
It is easy to overdo it when trying to predict future needs. I always
(now) do the minimal solution, with the expectation that it *may* evolve in
the future.
Since the parts that do need change (say 5% ?) are usually not the ones I
would have predicted, I am usually very glad I didn't over-engine