Here's an open source datalog for clojure:
https://github.com/tailrecursion/bacwn


2014-02-14 7:38 GMT+01:00 t x <txrev...@gmail.com>:

> @David:
>   * set operations is not what I'm looking for
>   * the relational algebra blog was very useful
>
> @Jeb:
>   * Ha! I didn't know that q could be used separate of datomic. I
> might just use datomic after all.
>
> Thanks!
>
> On Thu, Feb 13, 2014 at 6:43 PM, Jeb Beich <jebbe...@gmail.com> wrote:
> > You sure this isn't what you're looking for?
> >
> > https://gist.github.com/stuarthalloway/2645453
> >
> >
> > On Thu, Feb 13, 2014 at 8:34 PM, David Jagoe <davidja...@gmail.com>
> wrote:
> >>
> >> Here's an example:
> >>
> >>
> >>
> http://www.bagdemir.com/2013/07/30/implementing-relational-algebra-in-clojure/
> >>
> >>
> >> On 13 February 2014 18:32, David Jagoe <davidja...@gmail.com> wrote:
> >>>
> >>> Would this work for you?
> >>>
> >>> http://clojure.github.io/clojure/clojure.set-api.html
> >>>
> >>> (in particular select for your example)
> >>>
> >>>
> >>> On 13 February 2014 17:27, t x <txrev...@gmail.com> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> Preemptive: :-)
> >>>>
> >>>>   * I'm not looking for datomic.
> >>>>   * I'm also not looking for sqlkorma.
> >>>>
> >>>>   * An "in-memory" data-log might be what I'm after.
> >>>>
> >>>> Context:
> >>>>
> >>>>   I'm reading:
> >>>>     http://code.kx.com/wiki/JB:QforMortals2/tables
> >>>>
> >>>>   and it struck me -- why can't I view a clojure {vector,list} of maps
> >>>> as a table? I.e.:
> >>>>
> >>>>   [{:tag :animal :type :dog :age 2}
> >>>>   {:tag :animal :type :cat :age 4}]
> >>>>
> >>>>   then do queries on things like:
> >>>>
> >>>>     "get me all vector-indices of cats' of age >= 3"
> >>>>
> >>>> Question:
> >>>>
> >>>>   Is there a library (or even a blog post) about doing sql-like
> >>>> querying on _in memory clojure data structures_ ?
> >>>>
> >>>> Thanks!
> >>>>
> >>>> --
> >>>> You received this message because you are subscribed to the Google
> >>>> Groups "Clojure" group.
> >>>> To post to this group, send email to clojure@googlegroups.com
> >>>> Note that posts from new members are moderated - please be patient
> with
> >>>> your first post.
> >>>> To unsubscribe from this group, send email to
> >>>> clojure+unsubscr...@googlegroups.com
> >>>> For more options, visit this group at
> >>>> http://groups.google.com/group/clojure?hl=en
> >>>> ---
> >>>> You received this message because you are subscribed to the Google
> >>>> Groups "Clojure" group.
> >>>> To unsubscribe from this group and stop receiving emails from it, send
> >>>> an email to clojure+unsubscr...@googlegroups.com.
> >>>> For more options, visit https://groups.google.com/groups/opt_out.
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> David Jagoe
> >>>
> >>> davidja...@gmail.com
> >>> +18053284389
> >>
> >>
> >>
> >>
> >> --
> >> David Jagoe
> >>
> >> davidja...@gmail.com
> >> +18053284389
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "Clojure" group.
> >> To post to this group, send email to clojure@googlegroups.com
> >> Note that posts from new members are moderated - please be patient with
> >> your first post.
> >> To unsubscribe from this group, send email to
> >> clojure+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >> http://groups.google.com/group/clojure?hl=en
> >> ---
> >> You received this message because you are subscribed to the Google
> Groups
> >> "Clojure" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to clojure+unsubscr...@googlegroups.com.
> >> For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Clojure" group.
> > To post to this group, send email to clojure@googlegroups.com
> > Note that posts from new members are moderated - please be patient with
> your
> > first post.
> > To unsubscribe from this group, send email to
> > clojure+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/clojure?hl=en
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "Clojure" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to clojure+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to