Skip to content

Collection of tiny things which make life easier

License

Notifications You must be signed in to change notification settings

jdf-id-au/comfort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jdf/comfort

Collection of tiny things which make life easier in Clojure and ClojureScript. API not guaranteed to be stable; you can choose a specific sha to depend on.

Serious folk should look elsewhere, e.g. https://github.com/weavejester/medley , https://github.com/cloojure/tupelo

Usage

{:deps {jdf/comfort {:git/url "https://github.com/jdf-id-au/comfort.git"
                     :sha "<insert current commit>"}}}

Functionality

  • comfort.core incl
    • defre simplistic regular expression group naming
    • collate-by (like group-by but less voluminous)
    • update-if-present, assoc-if-absent, redact-keys
    • tabulate, detabulate
    • hierarchicalise
    • dag, deps-order
    • with-resources
  • comfort.gen clojure.spec conveniences incl
    • salad word salad generator
  • comfort.io incl
    • pprint-with-meta
    • safe-spit
    • percent-encode
    • copy! and paste with system clipboard
  • comfort.plot data manipulation in the spirit of d3.js, incl polymorphic
    • (scale [domain-from domain-to] [range-from range-to])
    • ticks, nice
  • comfort.system incl
    • make-help repl documentation displayer
    • mem-report
    • doseq-timed
  • comfort.ui Swing-based REPL-friendly 2d painting incl
    • repl-frame
    • inset, align, anchor-string

Also see test namespaces.

About

Collection of tiny things which make life easier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published