From 9e348a2859135b8b3929f4481374954586e7b1e0 Mon Sep 17 00:00:00 2001 From: oakes Date: Sun, 4 Aug 2019 10:50:33 -0400 Subject: [PATCH] Update docs --- dev.cljs.edn | 2 +- docs/cljs/iglu.core/iglu-'g'glsl.html | 19 +- docs/index.html | 19 +- docs/main.js | 1689 +++++++++++++------------ 4 files changed, 860 insertions(+), 869 deletions(-) diff --git a/dev.cljs.edn b/dev.cljs.edn index 18a19e1..6ee872c 100644 --- a/dev.cljs.edn +++ b/dev.cljs.edn @@ -1,5 +1,5 @@ {:main iglu.dev - :optimizations :none + :optimizations :simple :output-to "dev-resources/dynadoc-extend/main.js" :output-dir "dev-resources/dynadoc-extend/main.out" :asset-path "/main.out"} diff --git a/docs/cljs/iglu.core/iglu-'g'glsl.html b/docs/cljs/iglu.core/iglu-'g'glsl.html index fd2cd56..0b28293 100755 --- a/docs/cljs/iglu.core/iglu-'g'glsl.html +++ b/docs/cljs/iglu.core/iglu-'g'glsl.html @@ -38,21 +38,8 @@ (= gl_Position (multiply u_matrix a_position)) (= v_color a_color))}}) -
You can specify function bodies as a string if you want to write them entirely in GLSL.
(iglu->glsl - '{:version "300 es", - :uniforms {u_matrix mat4}, - :inputs {a_position vec4, a_color vec4}, - :outputs {v_color vec4}, - :signatures {multiply ([mat4 vec4] vec4), main ([] void)}, - :functions - {multiply ([x y] "return x * y;"), - main - ([] - "gl_Position = multiply(u_matrix, a_position);\nv_color = a_color;")}}) - -
You can also specify specific values as strings, making iglu pass them through - without modification. This is generally what you want for GLSL keywords and - floating point numbers.
(iglu->glsl +
Strings are passed through without modification. This is generally what you + want for GLSL keywords and floating point numbers.
(iglu->glsl '{:version "300 es", :precision "mediump float", :uniforms {u_image sampler2D}, @@ -92,7 +79,7 @@ glsl/iglu->glsl)))
- + diff --git a/docs/index.html b/docs/index.html index 6e04adb..71d9550 100755 --- a/docs/index.html +++ b/docs/index.html @@ -38,21 +38,8 @@ (= gl_Position (multiply u_matrix a_position)) (= v_color a_color))}}) -
You can specify function bodies as a string if you want to write them entirely in GLSL.
(iglu->glsl - '{:version "300 es", - :uniforms {u_matrix mat4}, - :inputs {a_position vec4, a_color vec4}, - :outputs {v_color vec4}, - :signatures {multiply ([mat4 vec4] vec4), main ([] void)}, - :functions - {multiply ([x y] "return x * y;"), - main - ([] - "gl_Position = multiply(u_matrix, a_position);\nv_color = a_color;")}}) - -
You can also specify specific values as strings, making iglu pass them through - without modification. This is generally what you want for GLSL keywords and - floating point numbers.
(iglu->glsl +
Strings are passed through without modification. This is generally what you + want for GLSL keywords and floating point numbers.
(iglu->glsl '{:version "300 es", :precision "mediump float", :uniforms {u_image sampler2D}, @@ -67,7 +54,7 @@ ("else" (= outColor (vec4 "0.0" "0.0" "0.0" "1.0"))))}})

+ Source

- + diff --git a/docs/main.js b/docs/main.js index 2b1f8ce..eb4f34b 100755 --- a/docs/main.js +++ b/docs/main.js @@ -882,9 +882,9 @@ a.cljs$core$IFn$_invoke$arity$14(b,c,d,e,f,g,h,k,l,m,n,p,q,r):a.call(null,b,c,d, a.val.call(null);return a.cljs$core$IFn$_invoke$arity$16?a.cljs$core$IFn$_invoke$arity$16(b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u):a.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u)},w=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w){a=this;a=a.val.cljs$core$IFn$_invoke$arity$0?a.val.cljs$core$IFn$_invoke$arity$0():a.val.call(null);return a.cljs$core$IFn$_invoke$arity$17?a.cljs$core$IFn$_invoke$arity$17(b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w):a.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w)},x=function(a,b,c,d,e,f,g,h,k, l,m,n,p,q,r,t,u,w,v){a=this;a=a.val.cljs$core$IFn$_invoke$arity$0?a.val.cljs$core$IFn$_invoke$arity$0():a.val.call(null);return a.cljs$core$IFn$_invoke$arity$18?a.cljs$core$IFn$_invoke$arity$18(b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v):a.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v)},y=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z){a=this;a=a.val.cljs$core$IFn$_invoke$arity$0?a.val.cljs$core$IFn$_invoke$arity$0():a.val.call(null);return a.cljs$core$IFn$_invoke$arity$19?a.cljs$core$IFn$_invoke$arity$19(b, c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z):a.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z)},z=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x){a=this;a=a.val.cljs$core$IFn$_invoke$arity$0?a.val.cljs$core$IFn$_invoke$arity$0():a.val.call(null);return a.cljs$core$IFn$_invoke$arity$20?a.cljs$core$IFn$_invoke$arity$20(b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x):a.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x)},A=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x,y){a=this;return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(a.val.cljs$core$IFn$_invoke$arity$0? -a.val.cljs$core$IFn$_invoke$arity$0():a.val.call(null),b,c,d,e,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x,y],0))};a=function(a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U,V,W){switch(arguments.length){case 1:return b.call(this,a);case 2:return c.call(this,a,F);case 3:return d.call(this,a,F,D);case 4:return e.call(this,a,F,D,B);case 5:return f.call(this,a,F,D,B,C);case 6:return g.call(this,a,F,D,B,C,E);case 7:return h.call(this,a,F,D,B,C,E,H);case 8:return k.call(this, -a,F,D,B,C,E,H,K);case 9:return l.call(this,a,F,D,B,C,E,H,K,J);case 10:return m.call(this,a,F,D,B,C,E,H,K,J,M);case 11:return n.call(this,a,F,D,B,C,E,H,K,J,M,N);case 12:return p.call(this,a,F,D,B,C,E,H,K,J,M,N,I);case 13:return q.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P);case 14:return r.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O);case 15:return t.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L);case 16:return u.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R);case 17:return v.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S); -case 18:return w.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q);case 19:return x.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T);case 20:return y.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U);case 21:return z.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U,V);case 22:return A.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U,V,W)}throw Error("Invalid arity: "+(arguments.length-1));};a.cljs$core$IFn$_invoke$arity$1=b;a.cljs$core$IFn$_invoke$arity$2=c;a.cljs$core$IFn$_invoke$arity$3=d;a.cljs$core$IFn$_invoke$arity$4= +a.val.cljs$core$IFn$_invoke$arity$0():a.val.call(null),b,c,d,e,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x,y],0))};a=function(a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U,V,W){switch(arguments.length){case 1:return b.call(this,a);case 2:return c.call(this,a,F);case 3:return d.call(this,a,F,D);case 4:return e.call(this,a,F,D,B);case 5:return f.call(this,a,F,D,B,C);case 6:return g.call(this,a,F,D,B,C,E);case 7:return h.call(this,a,F,D,B,C,E,I);case 8:return k.call(this, +a,F,D,B,C,E,I,K);case 9:return l.call(this,a,F,D,B,C,E,I,K,H);case 10:return m.call(this,a,F,D,B,C,E,I,K,H,M);case 11:return n.call(this,a,F,D,B,C,E,I,K,H,M,N);case 12:return p.call(this,a,F,D,B,C,E,I,K,H,M,N,J);case 13:return q.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P);case 14:return r.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O);case 15:return t.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L);case 16:return u.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R);case 17:return v.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S); +case 18:return w.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q);case 19:return x.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T);case 20:return y.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U);case 21:return z.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U,V);case 22:return A.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U,V,W)}throw Error("Invalid arity: "+(arguments.length-1));};a.cljs$core$IFn$_invoke$arity$1=b;a.cljs$core$IFn$_invoke$arity$2=c;a.cljs$core$IFn$_invoke$arity$3=d;a.cljs$core$IFn$_invoke$arity$4= e;a.cljs$core$IFn$_invoke$arity$5=f;a.cljs$core$IFn$_invoke$arity$6=g;a.cljs$core$IFn$_invoke$arity$7=h;a.cljs$core$IFn$_invoke$arity$8=k;a.cljs$core$IFn$_invoke$arity$9=l;a.cljs$core$IFn$_invoke$arity$10=m;a.cljs$core$IFn$_invoke$arity$11=n;a.cljs$core$IFn$_invoke$arity$12=p;a.cljs$core$IFn$_invoke$arity$13=q;a.cljs$core$IFn$_invoke$arity$14=r;a.cljs$core$IFn$_invoke$arity$15=t;a.cljs$core$IFn$_invoke$arity$16=u;a.cljs$core$IFn$_invoke$arity$17=v;a.cljs$core$IFn$_invoke$arity$18=w;a.cljs$core$IFn$_invoke$arity$19= x;a.cljs$core$IFn$_invoke$arity$20=y;a.cljs$core$IFn$_invoke$arity$21=z;a.cljs$core$IFn$_invoke$arity$22=A;return a}();cljs.core.Var.prototype.apply=function(a,b){return this.call.apply(this,[this].concat(cljs.core.aclone(b)))};cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$0=function(){var a=this.val.cljs$core$IFn$_invoke$arity$0?this.val.cljs$core$IFn$_invoke$arity$0():this.val.call(null);return a.cljs$core$IFn$_invoke$arity$0?a.cljs$core$IFn$_invoke$arity$0():a.call(null)}; cljs.core.Var.prototype.cljs$core$IFn$_invoke$arity$1=function(a){var b=this.val.cljs$core$IFn$_invoke$arity$0?this.val.cljs$core$IFn$_invoke$arity$0():this.val.call(null);return b.cljs$core$IFn$_invoke$arity$1?b.cljs$core$IFn$_invoke$arity$1(a):b.call(null,a)}; @@ -1008,9 +1008,9 @@ b,c,d,e,f,g,h,k,l,m,n,p)},r=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q){a=this;return a.afn.cljs$core$IFn$_invoke$arity$15(b,c,d,e,f,g,h,k,l,m,n,p,q,r,t):a.afn.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t)},v=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u){a=this;return a.afn.cljs$core$IFn$_invoke$arity$16?a.afn.cljs$core$IFn$_invoke$arity$16(b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u):a.afn.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u)},w=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w){a=this;return a.afn.cljs$core$IFn$_invoke$arity$17?a.afn.cljs$core$IFn$_invoke$arity$17(b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u, w):a.afn.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w)},x=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v){a=this;return a.afn.cljs$core$IFn$_invoke$arity$18?a.afn.cljs$core$IFn$_invoke$arity$18(b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v):a.afn.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v)},y=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z){a=this;return a.afn.cljs$core$IFn$_invoke$arity$19?a.afn.cljs$core$IFn$_invoke$arity$19(b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z):a.afn.call(null,b,c,d,e,f,g,h,k,l,m,n, p,q,r,t,u,w,v,z)},z=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x){a=this;return a.afn.cljs$core$IFn$_invoke$arity$20?a.afn.cljs$core$IFn$_invoke$arity$20(b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x):a.afn.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x)},A=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x,y){return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(this.afn,b,c,d,e,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([f,g,h,k,l,m,n,p,q,r,t,u,w,v,z,x,y],0))};a=function(a,F,D,B, -C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U,V,W){switch(arguments.length){case 1:return b.call(this,a);case 2:return c.call(this,a,F);case 3:return d.call(this,a,F,D);case 4:return e.call(this,a,F,D,B);case 5:return f.call(this,a,F,D,B,C);case 6:return g.call(this,a,F,D,B,C,E);case 7:return h.call(this,a,F,D,B,C,E,H);case 8:return k.call(this,a,F,D,B,C,E,H,K);case 9:return l.call(this,a,F,D,B,C,E,H,K,J);case 10:return m.call(this,a,F,D,B,C,E,H,K,J,M);case 11:return n.call(this,a,F,D,B,C,E,H,K,J,M,N);case 12:return p.call(this, -a,F,D,B,C,E,H,K,J,M,N,I);case 13:return q.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P);case 14:return r.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O);case 15:return t.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L);case 16:return u.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R);case 17:return v.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S);case 18:return w.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q);case 19:return x.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T);case 20:return y.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L, -R,S,Q,T,U);case 21:return z.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U,V);case 22:return A.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U,V,W)}throw Error("Invalid arity: "+(arguments.length-1));};a.cljs$core$IFn$_invoke$arity$1=b;a.cljs$core$IFn$_invoke$arity$2=c;a.cljs$core$IFn$_invoke$arity$3=d;a.cljs$core$IFn$_invoke$arity$4=e;a.cljs$core$IFn$_invoke$arity$5=f;a.cljs$core$IFn$_invoke$arity$6=g;a.cljs$core$IFn$_invoke$arity$7=h;a.cljs$core$IFn$_invoke$arity$8=k;a.cljs$core$IFn$_invoke$arity$9= +C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U,V,W){switch(arguments.length){case 1:return b.call(this,a);case 2:return c.call(this,a,F);case 3:return d.call(this,a,F,D);case 4:return e.call(this,a,F,D,B);case 5:return f.call(this,a,F,D,B,C);case 6:return g.call(this,a,F,D,B,C,E);case 7:return h.call(this,a,F,D,B,C,E,I);case 8:return k.call(this,a,F,D,B,C,E,I,K);case 9:return l.call(this,a,F,D,B,C,E,I,K,H);case 10:return m.call(this,a,F,D,B,C,E,I,K,H,M);case 11:return n.call(this,a,F,D,B,C,E,I,K,H,M,N);case 12:return p.call(this, +a,F,D,B,C,E,I,K,H,M,N,J);case 13:return q.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P);case 14:return r.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O);case 15:return t.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L);case 16:return u.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R);case 17:return v.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S);case 18:return w.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q);case 19:return x.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T);case 20:return y.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L, +R,S,Q,T,U);case 21:return z.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U,V);case 22:return A.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U,V,W)}throw Error("Invalid arity: "+(arguments.length-1));};a.cljs$core$IFn$_invoke$arity$1=b;a.cljs$core$IFn$_invoke$arity$2=c;a.cljs$core$IFn$_invoke$arity$3=d;a.cljs$core$IFn$_invoke$arity$4=e;a.cljs$core$IFn$_invoke$arity$5=f;a.cljs$core$IFn$_invoke$arity$6=g;a.cljs$core$IFn$_invoke$arity$7=h;a.cljs$core$IFn$_invoke$arity$8=k;a.cljs$core$IFn$_invoke$arity$9= l;a.cljs$core$IFn$_invoke$arity$10=m;a.cljs$core$IFn$_invoke$arity$11=n;a.cljs$core$IFn$_invoke$arity$12=p;a.cljs$core$IFn$_invoke$arity$13=q;a.cljs$core$IFn$_invoke$arity$14=r;a.cljs$core$IFn$_invoke$arity$15=t;a.cljs$core$IFn$_invoke$arity$16=u;a.cljs$core$IFn$_invoke$arity$17=v;a.cljs$core$IFn$_invoke$arity$18=w;a.cljs$core$IFn$_invoke$arity$19=x;a.cljs$core$IFn$_invoke$arity$20=y;a.cljs$core$IFn$_invoke$arity$21=z;a.cljs$core$IFn$_invoke$arity$22=A;return a}(); cljs.core.MetaFn.prototype.apply=function(a,b){return this.call.apply(this,[this].concat(cljs.core.aclone(b)))};cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$0=function(){return this.afn.cljs$core$IFn$_invoke$arity$0?this.afn.cljs$core$IFn$_invoke$arity$0():this.afn.call(null)};cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$1=function(a){return this.afn.cljs$core$IFn$_invoke$arity$1?this.afn.cljs$core$IFn$_invoke$arity$1(a):this.afn.call(null,a)}; cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$2=function(a,b){return this.afn.cljs$core$IFn$_invoke$arity$2?this.afn.cljs$core$IFn$_invoke$arity$2(a,b):this.afn.call(null,a,b)};cljs.core.MetaFn.prototype.cljs$core$IFn$_invoke$arity$3=function(a,b,c){return this.afn.cljs$core$IFn$_invoke$arity$3?this.afn.cljs$core$IFn$_invoke$arity$3(a,b,c):this.afn.call(null,a,b,c)}; @@ -2414,9 +2414,9 @@ c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t):z.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t)} c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u):x.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u)},y=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z){a=this;var x=a.dispatch_fn.cljs$core$IFn$_invoke$arity$19?a.dispatch_fn.cljs$core$IFn$_invoke$arity$19(b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z):a.dispatch_fn.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z),y=this.cljs$core$IMultiFn$_get_method$arity$2(null,x);cljs.core.truth_(y)||cljs.core.throw_no_method_error(a.name,x);return y.cljs$core$IFn$_invoke$arity$19?y.cljs$core$IFn$_invoke$arity$19(b, c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z):y.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z)},z=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z,x){a=this;var y=a.dispatch_fn.cljs$core$IFn$_invoke$arity$20?a.dispatch_fn.cljs$core$IFn$_invoke$arity$20(b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z,x):a.dispatch_fn.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z,x),A=this.cljs$core$IMultiFn$_get_method$arity$2(null,y);cljs.core.truth_(A)||cljs.core.throw_no_method_error(a.name,y);return A.cljs$core$IFn$_invoke$arity$20? A.cljs$core$IFn$_invoke$arity$20(b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z,x):A.call(null,b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z,x)},A=function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,w,v,t,u,z,x,y){a=this;var A=cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(a.dispatch_fn,b,c,d,e,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([f,g,h,k,l,m,n,p,q,r,w,v,t,u,z,x,y],0)),G=this.cljs$core$IMultiFn$_get_method$arity$2(null,A);cljs.core.truth_(G)||cljs.core.throw_no_method_error(a.name,A);return cljs.core.apply.cljs$core$IFn$_invoke$arity$variadic(G, -b,c,d,e,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([f,g,h,k,l,m,n,p,q,r,w,v,t,u,z,x,y],0))};a=function(a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U,V,W){switch(arguments.length){case 1:return b.call(this,a);case 2:return c.call(this,a,F);case 3:return d.call(this,a,F,D);case 4:return e.call(this,a,F,D,B);case 5:return f.call(this,a,F,D,B,C);case 6:return g.call(this,a,F,D,B,C,E);case 7:return h.call(this,a,F,D,B,C,E,H);case 8:return k.call(this,a,F,D,B,C,E,H,K);case 9:return l.call(this,a,F,D,B, -C,E,H,K,J);case 10:return m.call(this,a,F,D,B,C,E,H,K,J,M);case 11:return n.call(this,a,F,D,B,C,E,H,K,J,M,N);case 12:return p.call(this,a,F,D,B,C,E,H,K,J,M,N,I);case 13:return q.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P);case 14:return r.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O);case 15:return t.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L);case 16:return u.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R);case 17:return v.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S);case 18:return w.call(this,a,F,D,B,C,E,H,K,J,M,N,I, -P,O,L,R,S,Q);case 19:return x.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T);case 20:return y.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U);case 21:return z.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U,V);case 22:return A.call(this,a,F,D,B,C,E,H,K,J,M,N,I,P,O,L,R,S,Q,T,U,V,W)}throw Error("Invalid arity: "+(arguments.length-1));};a.cljs$core$IFn$_invoke$arity$1=b;a.cljs$core$IFn$_invoke$arity$2=c;a.cljs$core$IFn$_invoke$arity$3=d;a.cljs$core$IFn$_invoke$arity$4=e;a.cljs$core$IFn$_invoke$arity$5= +b,c,d,e,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([f,g,h,k,l,m,n,p,q,r,w,v,t,u,z,x,y],0))};a=function(a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U,V,W){switch(arguments.length){case 1:return b.call(this,a);case 2:return c.call(this,a,F);case 3:return d.call(this,a,F,D);case 4:return e.call(this,a,F,D,B);case 5:return f.call(this,a,F,D,B,C);case 6:return g.call(this,a,F,D,B,C,E);case 7:return h.call(this,a,F,D,B,C,E,I);case 8:return k.call(this,a,F,D,B,C,E,I,K);case 9:return l.call(this,a,F,D,B, +C,E,I,K,H);case 10:return m.call(this,a,F,D,B,C,E,I,K,H,M);case 11:return n.call(this,a,F,D,B,C,E,I,K,H,M,N);case 12:return p.call(this,a,F,D,B,C,E,I,K,H,M,N,J);case 13:return q.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P);case 14:return r.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O);case 15:return t.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L);case 16:return u.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R);case 17:return v.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S);case 18:return w.call(this,a,F,D,B,C,E,I,K,H,M,N,J, +P,O,L,R,S,Q);case 19:return x.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T);case 20:return y.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U);case 21:return z.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U,V);case 22:return A.call(this,a,F,D,B,C,E,I,K,H,M,N,J,P,O,L,R,S,Q,T,U,V,W)}throw Error("Invalid arity: "+(arguments.length-1));};a.cljs$core$IFn$_invoke$arity$1=b;a.cljs$core$IFn$_invoke$arity$2=c;a.cljs$core$IFn$_invoke$arity$3=d;a.cljs$core$IFn$_invoke$arity$4=e;a.cljs$core$IFn$_invoke$arity$5= f;a.cljs$core$IFn$_invoke$arity$6=g;a.cljs$core$IFn$_invoke$arity$7=h;a.cljs$core$IFn$_invoke$arity$8=k;a.cljs$core$IFn$_invoke$arity$9=l;a.cljs$core$IFn$_invoke$arity$10=m;a.cljs$core$IFn$_invoke$arity$11=n;a.cljs$core$IFn$_invoke$arity$12=p;a.cljs$core$IFn$_invoke$arity$13=q;a.cljs$core$IFn$_invoke$arity$14=r;a.cljs$core$IFn$_invoke$arity$15=t;a.cljs$core$IFn$_invoke$arity$16=u;a.cljs$core$IFn$_invoke$arity$17=v;a.cljs$core$IFn$_invoke$arity$18=w;a.cljs$core$IFn$_invoke$arity$19=x;a.cljs$core$IFn$_invoke$arity$20= y;a.cljs$core$IFn$_invoke$arity$21=z;a.cljs$core$IFn$_invoke$arity$22=A;return a}();cljs.core.MultiFn.prototype.apply=function(a,b){return this.call.apply(this,[this].concat(cljs.core.aclone(b)))}; cljs.core.MultiFn.prototype.cljs$core$IFn$_invoke$arity$0=function(){var a=this.dispatch_fn.cljs$core$IFn$_invoke$arity$0?this.dispatch_fn.cljs$core$IFn$_invoke$arity$0():this.dispatch_fn.call(null),b=this.cljs$core$IMultiFn$_get_method$arity$2(null,a);cljs.core.truth_(b)||cljs.core.throw_no_method_error(this.name,a);return b.cljs$core$IFn$_invoke$arity$0?b.cljs$core$IFn$_invoke$arity$0():b.call(null)}; @@ -2886,7 +2886,7 @@ l=cljs.pprint._STAR_print_pretty_STAR_,m=cljs.pprint._STAR_print_radix_STAR_,n=c "dispatch","dispatch",1319337009)).cljs$core$IFn$_invoke$arity$2(b,cljs.pprint._STAR_print_pprint_dispatch_STAR_),z=(new cljs.core.Keyword(null,"pretty","pretty",-1916372486)).cljs$core$IFn$_invoke$arity$2(b,cljs.pprint._STAR_print_pretty_STAR_),A=(new cljs.core.Keyword(null,"radix","radix",857016463)).cljs$core$IFn$_invoke$arity$2(b,cljs.pprint._STAR_print_radix_STAR_),G=(new cljs.core.Keyword(null,"readably","readably",1129599760)).cljs$core$IFn$_invoke$arity$2(b,cljs.core._STAR_print_readably_STAR_), F=(new cljs.core.Keyword(null,"right-margin","right-margin",-810413306)).cljs$core$IFn$_invoke$arity$2(b,cljs.pprint._STAR_print_right_margin_STAR_),D=(new cljs.core.Keyword(null,"suppress-namespaces","suppress-namespaces",2130686956)).cljs$core$IFn$_invoke$arity$2(b,cljs.pprint._STAR_print_suppress_namespaces_STAR_);cljs.pprint._STAR_print_base_STAR_=r;cljs.pprint._STAR_print_circle_STAR_=t;cljs.core._STAR_print_length_STAR_=u;cljs.core._STAR_print_level_STAR_=v;cljs.pprint._STAR_print_lines_STAR_= w;cljs.pprint._STAR_print_miser_width_STAR_=x;cljs.pprint._STAR_print_pprint_dispatch_STAR_=y;cljs.pprint._STAR_print_pretty_STAR_=z;cljs.pprint._STAR_print_radix_STAR_=A;cljs.core._STAR_print_readably_STAR_=G;cljs.pprint._STAR_print_right_margin_STAR_=F;cljs.pprint._STAR_print_suppress_namespaces_STAR_=D;try{var B=new goog.string.StringBuffer,C=cljs.core.contains_QMARK_.call(null,b,new cljs.core.Keyword(null,"stream","stream",1534941648))?(new cljs.core.Keyword(null,"stream","stream",1534941648)).cljs$core$IFn$_invoke$arity$1(b): -!0,E=!0===C||null==C?new cljs.core.StringBufferWriter(B):C;if(cljs.pprint._STAR_print_pretty_STAR_){var H=cljs.core.not.call(null,cljs.pprint.pretty_writer_QMARK_.call(null,E)),K=cljs.core._STAR_out_STAR_,J=H?cljs.pprint.make_pretty_writer.call(null,E,cljs.pprint._STAR_print_right_margin_STAR_,cljs.pprint._STAR_print_miser_width_STAR_):E;cljs.core._STAR_out_STAR_=J;try{cljs.pprint.write_out.call(null,a),cljs.pprint._ppflush.call(null,cljs.core._STAR_out_STAR_)}finally{cljs.core._STAR_out_STAR_=K}}else{var M= +!0,E=!0===C||null==C?new cljs.core.StringBufferWriter(B):C;if(cljs.pprint._STAR_print_pretty_STAR_){var I=cljs.core.not.call(null,cljs.pprint.pretty_writer_QMARK_.call(null,E)),K=cljs.core._STAR_out_STAR_,H=I?cljs.pprint.make_pretty_writer.call(null,E,cljs.pprint._STAR_print_right_margin_STAR_,cljs.pprint._STAR_print_miser_width_STAR_):E;cljs.core._STAR_out_STAR_=H;try{cljs.pprint.write_out.call(null,a),cljs.pprint._ppflush.call(null,cljs.core._STAR_out_STAR_)}finally{cljs.core._STAR_out_STAR_=K}}else{var M= cljs.core._STAR_out_STAR_;cljs.core._STAR_out_STAR_=E;try{cljs.pprint.pr.call(null,a)}finally{cljs.core._STAR_out_STAR_=M}}!0===C&&cljs.core.string_print.call(null,cljs.core.str.cljs$core$IFn$_invoke$arity$1(B));return null==C?cljs.core.str.cljs$core$IFn$_invoke$arity$1(B):null}finally{cljs.pprint._STAR_print_suppress_namespaces_STAR_=q,cljs.pprint._STAR_print_right_margin_STAR_=p,cljs.core._STAR_print_readably_STAR_=n,cljs.pprint._STAR_print_radix_STAR_=m,cljs.pprint._STAR_print_pretty_STAR_=l,cljs.pprint._STAR_print_pprint_dispatch_STAR_= k,cljs.pprint._STAR_print_miser_width_STAR_=h,cljs.pprint._STAR_print_lines_STAR_=g,cljs.core._STAR_print_level_STAR_=f,cljs.core._STAR_print_length_STAR_=e,cljs.pprint._STAR_print_circle_STAR_=d,cljs.pprint._STAR_print_base_STAR_=c}};cljs.pprint.write.cljs$lang$maxFixedArity=1;cljs.pprint.write.cljs$lang$applyTo=function(a){var b=cljs.core.first.call(null,a);a=cljs.core.next.call(null,a);return this.cljs$core$IFn$_invoke$arity$variadic(b,a)}; cljs.pprint.pprint=function(a){switch(arguments.length){case 1:return cljs.pprint.pprint.cljs$core$IFn$_invoke$arity$1(arguments[0]);case 2:return cljs.pprint.pprint.cljs$core$IFn$_invoke$arity$2(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(""));}}; @@ -3310,10 +3310,10 @@ cljs.pprint.multi_defn=function(a,b){return cljs.core.seq.call(null,a)?function( c.cljs$core$IFn$_invoke$arity$variadic=a;return c}()}(" ~_~{~w~^ ~_~}",cljs.pprint.cached_compile.call(null," ~_~{~w~^ ~_~}"))}().call(null,a):null}; cljs.pprint.pprint_defn=function(a){if(cljs.core.next.call(null,a)){var b=cljs.core.seq.call(null,a),c=cljs.core.first.call(null,b),d=cljs.core.next.call(null,b),e=cljs.core.first.call(null,d),f=cljs.core.next.call(null,d),g="string"===typeof cljs.core.first.call(null,f)?new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[cljs.core.first.call(null,f),cljs.core.next.call(null,f)],null):new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[null,f], null),h=cljs.core.nth.call(null,g,0,null),k=cljs.core.nth.call(null,g,1,null),l=cljs.core.map_QMARK_.call(null,cljs.core.first.call(null,k))?new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[cljs.core.first.call(null,k),cljs.core.next.call(null,k)],null):new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[null,k],null),m=cljs.core.nth.call(null,l,0,null),n=cljs.core.nth.call(null,l,1,null);if(cljs.core.truth_(cljs.pprint.level_exceeded.call(null)))cljs.core._write.call(null, -cljs.core._STAR_out_STAR_,"#");else{var p=cljs.pprint._STAR_current_level_STAR_,q=cljs.pprint._STAR_current_length_STAR_,r=cljs.pprint._STAR_current_level_STAR_+1;cljs.pprint._STAR_current_level_STAR_=r;cljs.pprint._STAR_current_length_STAR_=0;try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"(",null,")"),function(){return function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,K,J,M,N,I,P){return function(){var a=function(a){a=cljs.pprint.init_navigator.call(null,a);return cljs.pprint.execute_format.call(null, +cljs.core._STAR_out_STAR_,"#");else{var p=cljs.pprint._STAR_current_level_STAR_,q=cljs.pprint._STAR_current_length_STAR_,r=cljs.pprint._STAR_current_level_STAR_+1;cljs.pprint._STAR_current_level_STAR_=r;cljs.pprint._STAR_current_length_STAR_=0;try{cljs.pprint.start_block.call(null,cljs.core._STAR_out_STAR_,"(",null,")"),function(){return function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r,K,H,M,N,J,P){return function(){var a=function(a){a=cljs.pprint.init_navigator.call(null,a);return cljs.pprint.execute_format.call(null, b,a)},c=function(b){var c=null;if(0v-1?cljs.core.swap_BANG_.call(null,a,function(a, b,c,d,e,f,g,h,k,l,m,n,p,q,r){return function(a){return cljs.core.conj.call(null,cljs.core.into.call(null,a,cljs.core.repeat.call(null,f-(g-1)-1,cljs.core.PersistentVector.EMPTY)),new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[e],null))}}(f,l,m,n,w,t,v,p,q,r,a,b,c,d,e)):cljs.core.swap_BANG_.call(null,a,function(a,b,c,d,e,f,g,h,k,l,m,n,p,q,r){return function(a){return cljs.core.update_in.call(null,a,new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE, [f],null),cljs.core.conj,e)}}(f,l,m,n,w,t,v,p,q,r,a,b,c,d,e));f=cljs.core.next.call(null,q);l=null;m=0}n=0}else return null}}(c,d,e,f,g),k=cljs.core.seq.call(null,cljs.core.map_indexed.call(null,function(a,b,c,d,e,f){return function(a,b){return new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[a,b],null)}}(c,d,e,f,g,h),a)),l=null,m=0,n=0;;)if(n