This is a fork of hashp
which includes the #t
reader tag to call tap>
in addition to printing.
The original library was written by @weavejester and the implementation was inspired by a PR for #t
from @PEZ.
Installation is the same as hashp
except using com.github.rads/hasht
as the dependency.
Add the following to ~/.lein/profiles.clj
:
{:user
{:dependencies [[com.github.rads/hasht "0.2.1"]]
:injections [(require 'hashp.core)]}}
Add the following to ~/.boot/profile.boot
:
(set-env! :dependencies #(conj % '[com.github.rads/hasht "0.2.1"]))
(require 'hashp.core)
(boot.core/load-data-readers!)
Add the following to shadow-cljs.edn
:
{:dependencies [com.github.rads/hasht "0.2.1"]
:builds {:app {:devtools {:preloads [hashp.core]}}}}
Or alternatively via ~/.shadow-cljs/config.edn
and --config-merge
:
~/.shadow-cljs/config.edn
:
{:dependencies [[com.github.rads/hasht "0.2.1"]]}
Run:
shadow-cljs watch app --config-merge '{:devtools {:preloads [hashp.core]}}'
Can you improve this documentation? These fine people already did:
James Reeves, Radford Smith, Tim Greene & Lucy WangEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close