Re: Port graphs: What would Rich Hickey do?

2018-01-10 Thread Ben Kovitz
elementary that I haven't understood yet. I just posted a question on the github site: https://github.com/nathanmarz/specter/issues/241 -- Ben Kovitz http://pages.iu.edu/~bkovitz/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To pos

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Ben Kovitz
even allow me to map these peculiar port graphs to simplicial graphs without adding any performance overhead. It looks like I'd need to write a custom navigator or two. I haven't yet found a good tutorial for getting beyond the most elementary concepts of Specter, though. Can y

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Ben Kovitz
ember any of those other contexts? Maybe I could check one out and learn something from it. If you’re shopping around for ideas as to how to define data manipulation > API, it may be worth taking some time looking at Specter too. > Thanks for this suggestion, too. I'm now checking it out

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Ben Kovitz
hich addresses the "type headache" I was trying to avoid. -- Ben Kovitz http://pages.iu.edu/~bkovitz/ -- 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

Re: Port graphs: What would Rich Hickey do?

2018-01-02 Thread Ben Kovitz
rks. Graphs of social networks, though, can be conveniently described by their own custom sexprs. I figure that implementing it will force me to think this idea through the rest of the way. Here goes… -- Ben Kovitz http://pages.iu.edu/~bkovitz/ -- You received this message because you are sub

Re: Port graphs: What would Rich Hickey do?

2018-01-01 Thread Ben Kovitz
o look at this in a new way. I like your observation that (in effect) edge classes of the form (port-label1, port-label2) are isomorphic to edges between ports. That and Datomic might be exactly the whack(s) on the side of the head that I needed! -- Ben Kovitz http://pages.iu.edu/~bkovitz/

Port graphs: What would Rich Hickey do?

2018-01-01 Thread Ben Kovitz
to describe, maybe even sacrificing full generality. OK, that's enough. I'm probably missing something obvious here—obvious, at least, to Rich Hickey or someone with more Clojure experience. Would you care to smack

Re: strange (for me) problem with "No matching ctor found for class ..."

2016-05-04 Thread Ben Kovitz
what I needed with a macro. However, we did not find a way around temporarily binding the method-map to a dynamically rebindable symbol. -- Ben Kovitz http://mypage.iu.edu/~bkovitz/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to t

Re: strange (for me) problem with "No matching ctor found for class ..."

2016-05-04 Thread Ben Kovitz
; (eval '{:d f-}) {:d #function[user/fn--10243/f--10244]} -- Ben Kovitz http://mypage.iu.edu/~bkovitz/ -- 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 n

Re: strange (for me) problem with "No matching ctor found for class ..."

2016-05-04 Thread Ben Kovitz
at least not reliably. If you want to (reliably) make eval return something containing a function object, you need to give eval an expression containing a symbol or expression that evaluates to that function object—not the function object itself. -- Ben Kovitz http://mypage.iu.edu/~bkovitz/ -- You