Skip to content

Instantly share code, notes, and snippets.

Avatar

Hugo Duncan hugoduncan

View GitHub Profile
@hugoduncan
hugoduncan / 1-rewrite_usage.clj
Created Nov 24, 2012 — forked from lynaghk/1-rewrite_usage.clj
Questions about fancy map rewriting via core.logic
View 1-rewrite_usage.clj
(rewrite-layer
{:mapping {:y :mpg}
:stat (stat/quantiles)})
;; =>
{:mapping {:upper :q75, :min :min, :lower :q25, :max :max, :middle :q50, :y :mpg}
:stat #com.keminglabs/c2po$stat$quantiles {:dimension :mpg}
:geom #com.keminglabs/c2po$geom$boxplot {}}
You can’t perform that action at this time.