From 9dbda3d9d8ddbc358be60de197c6838d2909ebb7 Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Wed, 7 Sep 2016 17:06:50 -0700 Subject: [PATCH] Pre: remove exec_repl.cljc. --- src/datomish/exec_repl.cljc | 111 ------------------------------------ 1 file changed, 111 deletions(-) delete mode 100644 src/datomish/exec_repl.cljc diff --git a/src/datomish/exec_repl.cljc b/src/datomish/exec_repl.cljc deleted file mode 100644 index 66f2bfcc..00000000 --- a/src/datomish/exec_repl.cljc +++ /dev/null @@ -1,111 +0,0 @@ -;; This Source Code Form is subject to the terms of the Mozilla Public -;; License, v. 2.0. If a copy of the MPL was not distributed with this -;; file, You can obtain one at http://mozilla.org/MPL/2.0/. - -(ns datomish.exec-repl - #?(:cljs - (:require-macros - [datomish.util :refer [while-let]] - [datomish.pair-chan :refer [go-pair lazy-seq - "Returns a blocking lazy sequence of items taken from the provided channel." - [channel] - (lazy-seq - (when-let [v (clojure.core.async/lazy-seq channel))))))) - -#?(:clj -(defn run-to-pair-seq - "Given an open database, returns a lazy sequence of results. - When fully consumed, underlying resources will be released." - [db find] - (pair-channel->lazy-seq (db/ ?v 1438748166567751)] [?page :page/title ?title] [?page :page/url ?url] ] {}))))))) - - -#_ -(go-pair - (let [connection ( ?v 1000)]] {})))))) - -(dq/parse '[:find ?entity ?tx ?score - :in $ ?search - :where [(foobar $ :artist/name ?search) [[?entity _ ?tx ?score]]]]) - -(honeysql.core/format {:select [:?foo] :from [:foo] :where [:match :foo.x "Bar"]})