Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- java.lang.IllegalArgumentException: No single method: iseq of interface: funql.core.ISeq found for function: iseq of protocol: ISeq
- at clojure.lang.Compiler$InvokeExpr.<init>(Compiler.java:2880)
- at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3063)
- at clojure.lang.Compiler.analyzeSeq(Compiler.java:5371)
- (defprotocol ISeq
- "Protocol for types supporting iseq."
- (iseq [this])
- (iseq [this cls])
- (iseq [this cls dir]))
- (extend-type Vertex
- ISeq
- (iseq [v] (iseq v nil nil))
- (iseq [v cls] (iseq v cls nil))
- (iseq
- [v cls dir]
- (let [f (first-inc v cls dir)]
- (if f
- (lazy-cat (iseq f cls dir))
- []))))
- (extend-type Edge
- ISeq
- (iseq [e] (iseq e nil nil))
- (iseq [e cls] (iseq e cls nil))
- (iseq
- [e cls dir]
- (let [n (next-inc e cls dir)]
- (lazy-cat [e] (and n (iseq n cls dir))))))
Advertisement
Add Comment
Please, Sign In to add comment