Re: next.jdbc -- early access

2019-03-31 Thread Pankaj Doharey
WoW, good to hear about pure Clojure libs being written, Is contrib still alive? On Mon, 1 Apr 2019 at 12:09 PM, Sean Corfield wrote: > OK, I'm finally at a place where I feel comfortable showing an early > working draft of `next.jdbc` to the world: > https://github.com/seancorfield/next-jdbc/blo

Re: Any way to replace function body?

2019-01-19 Thread Pankaj Doharey
Checkout multi-arity functions in clojure. On Sat, 19 Jan 2019 at 8:28 PM, Janko Muzykant wrote: > Hi, > > Is there an way to replace body of existing (interned) function with own > code still being able to call original fn? > Suppose, I have a function: > > (defn fetch-data [arg1 arg2] >

Re: clojure

2018-09-30 Thread Pankaj Doharey
> 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 >>HOSPICE_ENC) >> >>

Re: clojure

2018-09-30 Thread Pankaj Doharey
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

Re: What's the status of DCG in core.logic?

2018-09-27 Thread Pankaj Doharey
http://minikanren.org/#writtenTutorials On Thursday, 27 September 2018 20:33:27 UTC+5:30, phil jones wrote: > > > I see core.logic has a version of Prolog's DCG grammars. > > > https://github.com/clojure/core.logic/blob/master/src/main/clojure/clojure/core/logic/dcg.clj > > Is this a usable soluti

Re: clojure code routine

2018-09-27 Thread Pankaj Doharey
i have a csv file as input i want to > write a code to autogenerate output file as .clj file by using macros.. > > On Thursday, September 27, 2018 at 3:32:37 AM UTC+5:30, Pankaj Doharey > wrote: >> >> Hmm, your out.csv seems incorrect to me. the clinic.clj has no code. What

Re: clojure code routine

2018-09-26 Thread Pankaj Doharey
Hmm, your out.csv seems incorrect to me. the clinic.clj has no code. What are you trying to do here? Is this homework? On Wednesday, 26 September 2018 17:27:08 UTC+5:30, venkata sai wrote: > > i have attached csv file and my output file here.. could anyone help me > autogenerate code by using