Liking cljdoc? Tell your friends :D

rads.hasht

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 PR for #t was provided by @PEZ.

Install

Installation is the same as hashp except using com.github.rads/hasht as the dependency.

Leiningen

Add the following to ~/.lein/profiles.clj:

{:user
 {:dependencies [[com.github.rads/hasht "0.2.1"]]
  :injections [(require 'hashp.core)]}}

Boot

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!)

Shadow-CLJS

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 Wang
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close