-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version 4-alpha3: revising list of kinds, refactoring the creation of…
… kinds using a macro
- Loading branch information
Showing
4 changed files
with
54 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,37 @@ | ||
(ns scicloj.kindly.v4.kind | ||
(:require [scicloj.kindly.v4.fn :as fn])) | ||
|
||
(def hidden | ||
(fn/kind-as-a-fn :kind/hidden)) | ||
|
||
(def pprint | ||
(fn/kind-as-a-fn :kind/pprint)) | ||
|
||
(def println | ||
(fn/kind-as-a-fn :kind/println)) | ||
|
||
(def test | ||
(fn/kind-as-a-fn :kind/test)) | ||
|
||
(def var | ||
(fn/kind-as-a-fn :kind/var)) | ||
|
||
(def map | ||
(fn/kind-as-a-fn :kind/map)) | ||
|
||
(def set | ||
(fn/kind-as-a-fn :kind/set)) | ||
|
||
(def vector | ||
(fn/kind-as-a-fn :kind/vector)) | ||
|
||
(def seq | ||
(fn/kind-as-a-fn :kind/seq)) | ||
|
||
(def table | ||
(fn/kind-as-a-fn :kind/table)) | ||
|
||
(def md | ||
(fn/kind-as-a-fn :kind/md)) | ||
|
||
(def code | ||
(fn/kind-as-a-fn :kind/code)) | ||
|
||
(def hiccup | ||
(fn/kind-as-a-fn :kind/hiccup)) | ||
|
||
(def reagent | ||
(fn/kind-as-a-fn :kind/reagent)) | ||
|
||
(def vega | ||
(fn/kind-as-a-fn :kind/vega)) | ||
|
||
(def vega-lite | ||
(fn/kind-as-a-fn :kind/vega-lite)) | ||
|
||
(def cytoscape | ||
(fn/kind-as-a-fn :kind/cytoscape)) | ||
|
||
(def echarts | ||
(fn/kind-as-a-fn :kind/echarts)) | ||
(fn/defkinds | ||
|
||
;; simple behaviours | ||
pprint | ||
hidden | ||
|
||
;; web dev | ||
hiccup | ||
reagent | ||
|
||
;; data visualization formats | ||
md | ||
code | ||
vega | ||
vega-lite | ||
echarts | ||
cytoscape | ||
|
||
;; specific types | ||
image | ||
dataset | ||
|
||
;; clojure specific | ||
var | ||
test | ||
|
||
;; plain structures | ||
seq | ||
vector | ||
set | ||
map | ||
|
||
;; other recursive structures | ||
table) |