Last active
August 29, 2015 14:02
-
-
Save natefaubion/ece8fe982b026b81bb67 to your computer and use it in GitHub Desktop.
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
function test1 { | |
(*, false, true ) => 1, | |
(false, true, * ) => 2, | |
(*, *, false) => 3, | |
(*, *, true ) => 4 | |
} | |
function test2 { | |
(1, { a: 1, b: 2 }) => 1, | |
(*, { a: 1, b: 2 }) => 2 | |
} | |
function test3 { | |
(*, *, true , * , * , * ) => 1, | |
(*, *, * , * , true , * ) => 2, | |
(*, *, * , * , false, true ) => 3, | |
(*, *, false, 'test', * , false) => 4, | |
(0, 0, false, * , false, false) => 5, | |
(0, *, false, * , false, false) => 6, | |
(1, *, false, * , false, false) => 7, | |
(2, *, false, * , false, false) => 8, | |
(*, *, false, null , false, false) => 9, | |
* => 10 | |
} |
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
function test1(a0, a1, a2) { | |
if (a1 === false && a2 === true) { | |
return 1; | |
} | |
if (a1 === true && a0 === false) { | |
return 2; | |
} | |
if (a2 === false) { | |
return 3; | |
} | |
if (a2 === true) { | |
return 4; | |
} | |
throw new TypeError('No match'); | |
} | |
function test2(a0, a1) { | |
if (a1 != null) { | |
var r0 = Object(a1); | |
if ('a' in r0) { | |
var r1 = r0['a']; | |
if (r1 === 1 && 'b' in r0) { | |
var r2 = r0['b']; | |
if (r2 === 2) { | |
if (a0 === 1) { | |
return 1; | |
} | |
return 2; | |
} | |
} | |
} | |
} | |
throw new TypeError('No match'); | |
} | |
function test3(a0, a1, a2, a3, a4, a5) { | |
if (a2 === true) { | |
return 1; | |
} | |
if (a4 === true) { | |
return 2; | |
} | |
if (a5 === true && a4 === false) { | |
return 3; | |
} | |
if (a5 === false && a2 === false) { | |
if (a3 === 'test') { | |
return 4; | |
} | |
if (a4 === false) { | |
if (a0 === 0) { | |
if (a1 === 0) { | |
return 5; | |
} | |
return 6; | |
} | |
if (a0 === 1) { | |
return 7; | |
} | |
if (a0 === 2) { | |
return 8; | |
} | |
} | |
if (a3 === null && a4 === false) { | |
return 9; | |
} | |
} | |
return 10; | |
} |
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
(ns matchtest | |
(:require-macros [cljs.core.match.macros :refer [match]]) | |
(:require [cljs.core.match])) | |
(defn test1 [a b c] | |
(match [a b c] | |
[_ false true ] 1 | |
[false true _ ] 2 | |
[_ _ false] 3 | |
[_ _ true ] 4)) | |
(defn test2 [a, b] | |
(match [a b] | |
[1 {:a 1 :b 2}] 1 | |
[_ {:a 1 :b 2}] 2)) | |
(defn test3 [a b c d e f] | |
(match [a b c d e f] | |
[_ _ true _ _ _ ] 1 | |
[_ _ _ _ true _ ] 2 | |
[_ _ _ _ false true ] 3 | |
[_ _ false :test _ false] 4 | |
[0 0 false _ false false] 5 | |
[0 _ false _ false false] 6 | |
[1 _ false _ false false] 7 | |
[2 _ false _ false false] 8 | |
[_ _ false nil false false] 9 | |
:else 10)) |
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
// Compiled by ClojureScript 0.0-2173 | |
goog.provide('matchtest'); | |
goog.require('cljs.core'); | |
goog.require('cljs.core.match'); | |
matchtest.test1 = (function test1(a, b, c) { | |
try { | |
if ((b === false)) { | |
try { | |
if ((c === true)) { | |
return 1; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6013) { | |
if ((e6013 instanceof Error)) { | |
var e__4828__auto__ = e6013; | |
if ((e__4828__auto__ === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto__; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6013; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if ((b === true)) { | |
try { | |
if ((a === false)) { | |
return 2; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6014) { | |
if ((e6014 instanceof Error)) { | |
var e__4828__auto__ = e6014; | |
if ((e__4828__auto__ === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto__; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6014; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} | |
} catch (e6011) { | |
if ((e6011 instanceof Error)) { | |
var e__4828__auto__ = e6011; | |
if ((e__4828__auto__ === cljs.core.match.backtrack)) { | |
try { | |
if ((c === false)) { | |
return 3; | |
} else { | |
if ((c === true)) { | |
return 4; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} | |
} catch (e6012) { | |
if ((e6012 instanceof Error)) { | |
var e__4828__auto____$1 = e6012; | |
if ((e__4828__auto____$1 === cljs.core.match.backtrack)) { | |
throw (new Error([cljs.core.str("No matching clause: "), cljs.core.str(a), cljs.core.str(" "), cljs.core.str(b), cljs.core.str(" "), cljs.core.str(c)].join(''))); | |
} else { | |
throw e__4828__auto____$1; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6012; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
throw e__4828__auto__; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6011; | |
} else { | |
return null; | |
} | |
} | |
} | |
}); | |
matchtest.test2 = (function test2(a, b) { | |
try { | |
if ((function () { | |
var G__6039 = b; | |
if (G__6039) { | |
var bit__4091__auto__ = (G__6039.cljs$lang$protocol_mask$partition0$ & 256); | |
if ((bit__4091__auto__) || (G__6039.cljs$core$ILookup$)) { | |
return true; | |
} else { | |
if ((!G__6039.cljs$lang$protocol_mask$partition0$)) { | |
return cljs.core.native_satisfies_QMARK_.call(null, cljs.core.ILookup, G__6039); | |
} else { | |
return false; | |
} | |
} | |
} else { | |
return cljs.core.native_satisfies_QMARK_.call(null, cljs.core.ILookup, G__6039); | |
} | |
})()) { | |
try { | |
var b_a__6036 = cljs.core.get.call(null, b, new cljs.core.Keyword(null, "a", "a", 1013904339), new cljs.core.Keyword("clojure.core.match", "not-found", "clojure.core.match/not-found", 594371962)); | |
if ((b_a__6036 === 1)) { | |
try { | |
var b_b__6037 = cljs.core.get.call(null, b, new cljs.core.Keyword(null, "b", "b", 1013904340), new cljs.core.Keyword("clojure.core.match", "not-found", "clojure.core.match/not-found", 594371962)); | |
if ((b_b__6037 === 2)) { | |
try { | |
if ((a === 1)) { | |
return 1; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6044) { | |
if ((e6044 instanceof Error)) { | |
var e__4828__auto__ = e6044; | |
if ((e__4828__auto__ === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto__; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6044; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6043) { | |
if ((e6043 instanceof Error)) { | |
var e__4828__auto__ = e6043; | |
if ((e__4828__auto__ === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto__; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6043; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6040) { | |
if ((e6040 instanceof Error)) { | |
var e__4828__auto__ = e6040; | |
if ((e__4828__auto__ === cljs.core.match.backtrack)) { | |
try { | |
var b_a__6036 = cljs.core.get.call(null, b, new cljs.core.Keyword(null, "a", "a", 1013904339), new cljs.core.Keyword("clojure.core.match", "not-found", "clojure.core.match/not-found", 594371962)); | |
if ((b_a__6036 === 1)) { | |
try { | |
var b_b__6037 = cljs.core.get.call(null, b, new cljs.core.Keyword(null, "b", "b", 1013904340), new cljs.core.Keyword("clojure.core.match", "not-found", "clojure.core.match/not-found", 594371962)); | |
if ((b_b__6037 === 2)) { | |
return 2; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6042) { | |
if ((e6042 instanceof Error)) { | |
var e__4828__auto____$1 = e6042; | |
if ((e__4828__auto____$1 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$1; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6042; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6041) { | |
if ((e6041 instanceof Error)) { | |
var e__4828__auto____$1 = e6041; | |
if ((e__4828__auto____$1 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$1; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6041; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
throw e__4828__auto__; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6040; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6038) { | |
if ((e6038 instanceof Error)) { | |
var e__4828__auto__ = e6038; | |
if ((e__4828__auto__ === cljs.core.match.backtrack)) { | |
throw (new Error([cljs.core.str("No matching clause: "), cljs.core.str(a), cljs.core.str(" "), cljs.core.str(b)].join(''))); | |
} else { | |
throw e__4828__auto__; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6038; | |
} else { | |
return null; | |
} | |
} | |
} | |
}); | |
matchtest.test3 = (function test3(a, b, c, d, e, f) { | |
try { | |
if ((c === true)) { | |
return 1; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6136) { | |
if ((e6136 instanceof Error)) { | |
var e__4828__auto__ = e6136; | |
if ((e__4828__auto__ === cljs.core.match.backtrack)) { | |
try { | |
if ((e === true)) { | |
return 2; | |
} else { | |
if ((e === false)) { | |
try { | |
if ((f === true)) { | |
return 3; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6162) { | |
if ((e6162 instanceof Error)) { | |
var e__4828__auto____$1 = e6162; | |
if ((e__4828__auto____$1 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$1; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6162; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} | |
} catch (e6137) { | |
if ((e6137 instanceof Error)) { | |
var e__4828__auto____$1 = e6137; | |
if ((e__4828__auto____$1 === cljs.core.match.backtrack)) { | |
try { | |
if ((c === false)) { | |
try { | |
if (cljs.core.keyword_identical_QMARK_.call(null, d, new cljs.core.Keyword(null, "test", "test", 1017460740))) { | |
try { | |
if ((f === false)) { | |
return 4; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6161) { | |
if ((e6161 instanceof Error)) { | |
var e__4828__auto____$2 = e6161; | |
if ((e__4828__auto____$2 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$2; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6161; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6160) { | |
if ((e6160 instanceof Error)) { | |
var e__4828__auto____$2 = e6160; | |
if ((e__4828__auto____$2 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$2; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6160; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6138) { | |
if ((e6138 instanceof Error)) { | |
var e__4828__auto____$2 = e6138; | |
if ((e__4828__auto____$2 === cljs.core.match.backtrack)) { | |
try { | |
if ((c === false)) { | |
try { | |
if ((e === false)) { | |
try { | |
if ((a === 0)) { | |
try { | |
if ((b === 0)) { | |
try { | |
if ((f === false)) { | |
return 5; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6159) { | |
if ((e6159 instanceof Error)) { | |
var e__4828__auto____$3 = e6159; | |
if ((e__4828__auto____$3 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$3; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6159; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6158) { | |
if ((e6158 instanceof Error)) { | |
var e__4828__auto____$3 = e6158; | |
if ((e__4828__auto____$3 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$3; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6158; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6157) { | |
if ((e6157 instanceof Error)) { | |
var e__4828__auto____$3 = e6157; | |
if ((e__4828__auto____$3 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$3; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6157; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6156) { | |
if ((e6156 instanceof Error)) { | |
var e__4828__auto____$3 = e6156; | |
if ((e__4828__auto____$3 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$3; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6156; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6139) { | |
if ((e6139 instanceof Error)) { | |
var e__4828__auto____$3 = e6139; | |
if ((e__4828__auto____$3 === cljs.core.match.backtrack)) { | |
try { | |
if ((c === false)) { | |
try { | |
if ((e === false)) { | |
try { | |
if ((a === 0)) { | |
try { | |
if ((f === false)) { | |
return 6; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6155) { | |
if ((e6155 instanceof Error)) { | |
var e__4828__auto____$4 = e6155; | |
if ((e__4828__auto____$4 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$4; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6155; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6154) { | |
if ((e6154 instanceof Error)) { | |
var e__4828__auto____$4 = e6154; | |
if ((e__4828__auto____$4 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$4; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6154; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6153) { | |
if ((e6153 instanceof Error)) { | |
var e__4828__auto____$4 = e6153; | |
if ((e__4828__auto____$4 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$4; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6153; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6140) { | |
if ((e6140 instanceof Error)) { | |
var e__4828__auto____$4 = e6140; | |
if ((e__4828__auto____$4 === cljs.core.match.backtrack)) { | |
try { | |
if ((c === false)) { | |
try { | |
if ((e === false)) { | |
try { | |
if ((a === 1)) { | |
try { | |
if ((f === false)) { | |
return 7; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6152) { | |
if ((e6152 instanceof Error)) { | |
var e__4828__auto____$5 = e6152; | |
if ((e__4828__auto____$5 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$5; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6152; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6151) { | |
if ((e6151 instanceof Error)) { | |
var e__4828__auto____$5 = e6151; | |
if ((e__4828__auto____$5 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$5; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6151; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6150) { | |
if ((e6150 instanceof Error)) { | |
var e__4828__auto____$5 = e6150; | |
if ((e__4828__auto____$5 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$5; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6150; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6141) { | |
if ((e6141 instanceof Error)) { | |
var e__4828__auto____$5 = e6141; | |
if ((e__4828__auto____$5 === cljs.core.match.backtrack)) { | |
try { | |
if ((c === false)) { | |
try { | |
if ((e === false)) { | |
try { | |
if ((a === 2)) { | |
try { | |
if ((f === false)) { | |
return 8; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6149) { | |
if ((e6149 instanceof Error)) { | |
var e__4828__auto____$6 = e6149; | |
if ((e__4828__auto____$6 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$6; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6149; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6148) { | |
if ((e6148 instanceof Error)) { | |
var e__4828__auto____$6 = e6148; | |
if ((e__4828__auto____$6 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$6; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6148; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6147) { | |
if ((e6147 instanceof Error)) { | |
var e__4828__auto____$6 = e6147; | |
if ((e__4828__auto____$6 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$6; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6147; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6142) { | |
if ((e6142 instanceof Error)) { | |
var e__4828__auto____$6 = e6142; | |
if ((e__4828__auto____$6 === cljs.core.match.backtrack)) { | |
try { | |
if ((c === false)) { | |
try { | |
if ((e === false)) { | |
try { | |
if ((d === null)) { | |
try { | |
if ((f === false)) { | |
return 9; | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6146) { | |
if ((e6146 instanceof Error)) { | |
var e__4828__auto____$7 = e6146; | |
if ((e__4828__auto____$7 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$7; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6146; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6145) { | |
if ((e6145 instanceof Error)) { | |
var e__4828__auto____$7 = e6145; | |
if ((e__4828__auto____$7 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$7; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6145; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6144) { | |
if ((e6144 instanceof Error)) { | |
var e__4828__auto____$7 = e6144; | |
if ((e__4828__auto____$7 === cljs.core.match.backtrack)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
throw e__4828__auto____$7; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6144; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw cljs.core.match.backtrack; | |
} else { | |
return null; | |
} | |
} | |
} catch (e6143) { | |
if ((e6143 instanceof Error)) { | |
var e__4828__auto____$7 = e6143; | |
if ((e__4828__auto____$7 === cljs.core.match.backtrack)) { | |
return 10; | |
} else { | |
throw e__4828__auto____$7; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6143; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
throw e__4828__auto____$6; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6142; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
throw e__4828__auto____$5; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6141; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
throw e__4828__auto____$4; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6140; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
throw e__4828__auto____$3; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6139; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
throw e__4828__auto____$2; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6138; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
throw e__4828__auto____$1; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6137; | |
} else { | |
return null; | |
} | |
} | |
} | |
} else { | |
throw e__4828__auto__; | |
} | |
} else { | |
if (new cljs.core.Keyword(null, "else", "else", 1017020587)) { | |
throw e6136; | |
} else { | |
return null; | |
} | |
} | |
} | |
}); | |
//# sourceMappingURL=matchtest.js.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment