Re: core.logic - Using featurec to describe relationships around keys in a map

2013-07-08 Thread David Rocamora
On Sat, Jul 6, 2013 at 6:03 PM, David Nolen wrote: > On Sat, Jul 6, 2013 at 12:27 PM, Norman Richards wrote: > >> >> On Fri, Jul 5, 2013 at 1:06 PM, David Rocamora wrote: >> >>> >>> I'm trying to use featurec to describe some relationships within a >>> nested map. When I try to use it to find so

Re: core.logic - Using featurec to describe relationships around keys in a map

2013-07-06 Thread David Nolen
On Sat, Jul 6, 2013 at 12:27 PM, Norman Richards wrote: > > On Fri, Jul 5, 2013 at 1:06 PM, David Rocamora wrote: > >> >> I'm trying to use featurec to describe some relationships within a nested >> map. When I try to use it to find some keys in the map it returns nothing. >> Here is an example:

Re: core.logic - Using featurec to describe relationships around keys in a map

2013-07-06 Thread Norman Richards
On Fri, Jul 5, 2013 at 1:06 PM, David Rocamora wrote: > > I'm trying to use featurec to describe some relationships within a nested > map. When I try to use it to find some keys in the map it returns nothing. > Here is an example: > I don't believe you can match on the keys in a map - only the v

core.logic - Using featurec to describe relationships around keys in a map

2013-07-05 Thread David Rocamora
Hi, I'm trying to use featurec to describe some relationships within a nested map. When I try to use it to find some keys in the map it returns nothing. Here is an example: ;; Here is a map of some foods > (def foods {:apple {:color "Red"} > :carrot {:color "Orange"} > :