diff --git a/deps.edn b/deps.edn index 9541605..3bbe9cd 100644 --- a/deps.edn +++ b/deps.edn @@ -5,7 +5,8 @@ :sign-releases? false :repository "clojars"} - :deps {org.clojure/clojure {:mvn/version "1.11.1"}} + :deps {org.clojure/clojure {:mvn/version "1.11.1"} + io.github.eerohele/pp {:git/tag "2023-10-05.5", :git/sha "7059eec"}} :aliases {:project {:deps {io.github.exoscale/tools.project {:git/sha "5f24196ebea4dc6e601d201d97b463ea26923c7e"}} diff --git a/src/exoscale/lingo.cljc b/src/exoscale/lingo.cljc index 1e1cfac..f55181b 100644 --- a/src/exoscale/lingo.cljc +++ b/src/exoscale/lingo.cljc @@ -2,8 +2,8 @@ (:require [clojure.spec.alpha :as s] [clojure.string :as str] [exoscale.lingo.highlight :as h] - [exoscale.lingo.utils :as u] - [exoscale.lingo.impl :as impl])) + [exoscale.lingo.impl :as impl] + [exoscale.lingo.utils :as u])) (create-ns 'exoscale.lingo.pred) @@ -253,9 +253,9 @@ (set-spec-error! `ratio? "should be a Ratio") (set-spec-error! `vector? "should be a Vector") (set-spec-error! `associative? "should be an Associative (map, vector)") -(set-spec-error! `sequential? "should be a Sequential") -(set-spec-error! `seqable? "should be a Seqable") -(set-spec-error! `indexed? "should be an Indexed") +(set-spec-error! `sequential? "should be a Sequential") +(set-spec-error! `seqable? "should be a Seqable") +(set-spec-error! `indexed? "should be an Indexed") (set-spec-error! `number? "should be a Number") (set-spec-error! `bytes? "should be byte array") (set-spec-error! `float? "should be a Float") diff --git a/src/exoscale/lingo/highlight.cljc b/src/exoscale/lingo/highlight.cljc index 9bafc83..8dcd4a5 100644 --- a/src/exoscale/lingo/highlight.cljc +++ b/src/exoscale/lingo/highlight.cljc @@ -1,5 +1,6 @@ (ns exoscale.lingo.highlight - (:require [clojure.pprint :as pp] + (:require #?(:cljs [clojure.pprint :as pp] + :clj [me.flowthing.pp :as pp]) [clojure.string :as str] [exoscale.lingo.utils :as u])) diff --git a/test/exoscale/lingo/test/core_test.cljc b/test/exoscale/lingo/test/core_test.cljc index e471835..93b1839 100644 --- a/test/exoscale/lingo/test/core_test.cljc +++ b/test/exoscale/lingo/test/core_test.cljc @@ -1,9 +1,9 @@ (ns exoscale.lingo.test.core-test - (:require [clojure.test :refer [are deftest is]] + (:require [clojure.spec.alpha :as s] + [clojure.test :refer [are deftest is]] [exoscale.lingo :as l] - [exoscale.lingo.impl :as impl] [exoscale.lingo.highlight :as u] - [clojure.spec.alpha :as s])) + [exoscale.lingo.impl :as impl])) (defn f2? [_] false) (defn f3? [_] false)