Skip to content

Commit

Permalink
use io.github.eerohele/pp (#9)
Browse files Browse the repository at this point in the history
closes #6
  • Loading branch information
mpenet authored Oct 6, 2023
1 parent 10d73f9 commit 48abc6f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
3 changes: 2 additions & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}
Expand Down
10 changes: 5 additions & 5 deletions src/exoscale/lingo.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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")
Expand Down
3 changes: 2 additions & 1 deletion src/exoscale/lingo/highlight.cljc
Original file line number Diff line number Diff line change
@@ -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]))

Expand Down
6 changes: 3 additions & 3 deletions test/exoscale/lingo/test/core_test.cljc
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 48abc6f

Please # to comment.