Exemple #1
0
func init() {
	Replace = func(replace *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(replace, 3, func(s interface{}, match interface{}, replacement interface{}) interface{} {
			if cljs_core.Value_(match).Kind() == reflect.String {
				return cljs_core.Native_invoke_instance_method.X_invoke_Arity3(s, "Replace", []interface{}{(&js.RegExp{func() interface{} {
					var G__31 = match
					_ = G__31
					return cljs_core.Native_invoke_func.X_invoke_Arity2(goog_string.RegExpEscape, []interface{}{G__31})
				}(), "g"}), replacement})
			} else {
				if cljs_core.Value_(match).Type().AssignableTo(reflect.TypeOf((**js.RegExp)(nil)).Elem()) {
					return cljs_core.Native_invoke_instance_method.X_invoke_Arity3(s, "Replace", []interface{}{(&js.RegExp{cljs_core.Native_get_instance_field.X_invoke_Arity2(match, "Pattern"), strings.Join([]string{cljs_core.Str.X_invoke_Arity1(cljs_core.Native_get_instance_field.X_invoke_Arity2(match, "Flags")).(string), cljs_core.Str.X_invoke_Arity1("g").(string)}, ``)}), func() interface{} {
						if cljs_core.Fn_QMARK_.Arity1IB(replacement) {
							return func(x interface{}) interface{} { return replacement.(cljs_core.CljsCoreIFn).X_invoke_Arity1(x) }
						} else {
							return replacement
						}
					}()})
				} else {
					panic(strings.Join([]string{cljs_core.Str.X_invoke_Arity1("Invalid match arg: ").(string), cljs_core.Str.X_invoke_Arity1(match).(string)}, ``))

				}
			}
		})
	}(&cljs_core.AFn{})

	Replace_first = func(replace_first *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(replace_first, 3, func(s interface{}, match interface{}, replacement interface{}) interface{} {
			return cljs_core.Native_invoke_instance_method.X_invoke_Arity3(s, "Replace", []interface{}{match, func() interface{} {
				if cljs_core.Fn_QMARK_.Arity1IB(replacement) {
					return func(x interface{}) interface{} { return replacement.(cljs_core.CljsCoreIFn).X_invoke_Arity1(x) }
				} else {
					return replacement
				}
			}()})
		})
	}(&cljs_core.AFn{})

}
Exemple #2
0
func init() {
	Walk = func(walk *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(walk, 3, func(inner interface{}, outer interface{}, form interface{}) interface{} {
			if cljs_core.Seq_QMARK_.Arity1IB(form) {
				{
					var G__4 = cljs_core.Doall.X_invoke_Arity1(cljs_core.Map_.X_invoke_Arity2(inner, form).(*cljs_core.CljsCoreLazySeq))
					_ = G__4
					return outer.(cljs_core.CljsCoreIFn).X_invoke_Arity1(G__4)
				}
			} else {
				if cljs_core.Coll_QMARK_.Arity1IB(form) {
					{
						var G__5 = cljs_core.Into.X_invoke_Arity2(cljs_core.Empty.X_invoke_Arity1(form), cljs_core.Map_.X_invoke_Arity2(inner, form).(*cljs_core.CljsCoreLazySeq))
						_ = G__5
						return outer.(cljs_core.CljsCoreIFn).X_invoke_Arity1(G__5)
					}
				} else {
					{
						var G__6 = form
						_ = G__6
						return outer.(cljs_core.CljsCoreIFn).X_invoke_Arity1(G__6)
					}

				}
			}
		})
	}(&cljs_core.AFn{})

	Postwalk = func(postwalk *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(postwalk, 2, func(f interface{}, form interface{}) interface{} {
			return Walk.X_invoke_Arity3(cljs_core.Partial.X_invoke_Arity2(postwalk, f).(cljs_core.CljsCoreIFn), f, form)
		})
	}(&cljs_core.AFn{})

	Prewalk = func(prewalk *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(prewalk, 2, func(f interface{}, form interface{}) interface{} {
			return Walk.X_invoke_Arity3(cljs_core.Partial.X_invoke_Arity2(prewalk, f).(cljs_core.CljsCoreIFn), cljs_core.Identity, func() interface{} {
				var G__8 = form
				_ = G__8
				return f.(cljs_core.CljsCoreIFn).X_invoke_Arity1(G__8)
			}())
		})
	}(&cljs_core.AFn{})

	Keywordize_keys = func(keywordize_keys *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(keywordize_keys, 1, func(m interface{}) interface{} {
			{
				var f = func(G__13 *cljs_core.AFn) *cljs_core.AFn {
					return cljs_core.Fn(G__13, 1, func(p__11 interface{}) interface{} {
						{
							var vec__12 = p__11
							var k = cljs_core.Nth.X_invoke_Arity3(vec__12, float64(0), nil)
							var v = cljs_core.Nth.X_invoke_Arity3(vec__12, float64(1), nil)
							_, _, _ = vec__12, k, v
							if cljs_core.Value_(k).Kind() == reflect.String {
								return (&cljs_core.CljsCorePersistentVector{nil, float64(2), float64(5), cljs_core.CljsCorePersistentVector_EMPTY_NODE, []interface{}{cljs_core.Keyword.X_invoke_Arity1(k), v}, nil})
							} else {
								return (&cljs_core.CljsCorePersistentVector{nil, float64(2), float64(5), cljs_core.CljsCorePersistentVector_EMPTY_NODE, []interface{}{k, v}, nil})
							}
						}
					})
				}(&cljs_core.AFn{})
				_ = f
				return Postwalk.X_invoke_Arity2(func(G__14 *cljs_core.AFn, f cljs_core.CljsCoreIFn) *cljs_core.AFn {
					return cljs_core.Fn(G__14, 1, func(x interface{}) interface{} {
						if cljs_core.Map_QMARK_.Arity1IB(x) {
							return cljs_core.Into.X_invoke_Arity2(cljs_core.CljsCorePersistentArrayMap_EMPTY, cljs_core.Map_.X_invoke_Arity2(f, x).(*cljs_core.CljsCoreLazySeq))
						} else {
							return x
						}
					})
				}(&cljs_core.AFn{}, f), m)
			}
		})
	}(&cljs_core.AFn{})

	Stringify_keys = func(stringify_keys *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(stringify_keys, 1, func(m interface{}) interface{} {
			{
				var f = func(G__19 *cljs_core.AFn) *cljs_core.AFn {
					return cljs_core.Fn(G__19, 1, func(p__17 interface{}) interface{} {
						{
							var vec__18 = p__17
							var k = cljs_core.Nth.X_invoke_Arity3(vec__18, float64(0), nil)
							var v = cljs_core.Nth.X_invoke_Arity3(vec__18, float64(1), nil)
							_, _, _ = vec__18, k, v
							if cljs_core.Value_(k).Type().AssignableTo(reflect.TypeOf((**cljs_core.CljsCoreKeyword)(nil)).Elem()) {
								return (&cljs_core.CljsCorePersistentVector{nil, float64(2), float64(5), cljs_core.CljsCorePersistentVector_EMPTY_NODE, []interface{}{cljs_core.Name.X_invoke_Arity1(k), v}, nil})
							} else {
								return (&cljs_core.CljsCorePersistentVector{nil, float64(2), float64(5), cljs_core.CljsCorePersistentVector_EMPTY_NODE, []interface{}{k, v}, nil})
							}
						}
					})
				}(&cljs_core.AFn{})
				_ = f
				return Postwalk.X_invoke_Arity2(func(G__20 *cljs_core.AFn, f cljs_core.CljsCoreIFn) *cljs_core.AFn {
					return cljs_core.Fn(G__20, 1, func(x interface{}) interface{} {
						if cljs_core.Map_QMARK_.Arity1IB(x) {
							return cljs_core.Into.X_invoke_Arity2(cljs_core.CljsCorePersistentArrayMap_EMPTY, cljs_core.Map_.X_invoke_Arity2(f, x).(*cljs_core.CljsCoreLazySeq))
						} else {
							return x
						}
					})
				}(&cljs_core.AFn{}, f), m)
			}
		})
	}(&cljs_core.AFn{})

	Prewalk_replace = func(prewalk_replace *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(prewalk_replace, 2, func(smap interface{}, form interface{}) interface{} {
			return Prewalk.X_invoke_Arity2(func(G__23 *cljs_core.AFn) *cljs_core.AFn {
				return cljs_core.Fn(G__23, 1, func(x interface{}) interface{} {
					if cljs_core.Contains_QMARK_.Arity2IIB(smap, x) {
						{
							var G__22 = x
							_ = G__22
							return smap.(cljs_core.CljsCoreIFn).X_invoke_Arity1(G__22)
						}
					} else {
						return x
					}
				})
			}(&cljs_core.AFn{}), form)
		})
	}(&cljs_core.AFn{})

	Postwalk_replace = func(postwalk_replace *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(postwalk_replace, 2, func(smap interface{}, form interface{}) interface{} {
			return Postwalk.X_invoke_Arity2(func(G__26 *cljs_core.AFn) *cljs_core.AFn {
				return cljs_core.Fn(G__26, 1, func(x interface{}) interface{} {
					if cljs_core.Contains_QMARK_.Arity2IIB(smap, x) {
						{
							var G__25 = x
							_ = G__25
							return smap.(cljs_core.CljsCoreIFn).X_invoke_Arity1(G__25)
						}
					} else {
						return x
					}
				})
			}(&cljs_core.AFn{}), form)
		})
	}(&cljs_core.AFn{})

}
Exemple #3
0
func init() {
	Ep = func(ep *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(ep, 1, func(x interface{}) interface{} {
			if cljs_core.Nil_(x) {
				return (&cljs_core.CljsCoreKeyword{Ns: nil, Name: "atom", Fqn: "atom", X_hash: float64(-397043653)})
			} else {
				if cljs_core.Value_(x).Kind() == reflect.String {
					return (&cljs_core.CljsCoreKeyword{Ns: nil, Name: "atom", Fqn: "atom", X_hash: float64(-397043653)})
				} else {
					if cljs_core.Value_(x).Kind() == reflect.Float64 {
						return (&cljs_core.CljsCoreKeyword{Ns: nil, Name: "atom", Fqn: "atom", X_hash: float64(-397043653)})
					} else {
						if cljs_core.Value_(x).Kind() == reflect.Slice {
							return (&cljs_core.CljsCoreKeyword{Ns: nil, Name: "sequential", Fqn: "sequential", X_hash: float64(-1082983960)})
						} else {
							if cljs_core.Fn_QMARK_.Arity1IB(x) {
								return (&cljs_core.CljsCoreKeyword{Ns: nil, Name: "atom", Fqn: "atom", X_hash: float64(-397043653)})
							} else {
								if cljs_core.Value_(x).Kind() == reflect.Bool {
									return (&cljs_core.CljsCoreKeyword{Ns: nil, Name: "atom", Fqn: "atom", X_hash: float64(-397043653)})
								} else {
									if cljs_core.DecoratedValue_(x).Type().Implements(reflect.TypeOf((*cljs_core.CljsCoreIMap)(nil)).Elem()) {
										return (&cljs_core.CljsCoreKeyword{Ns: nil, Name: "map", Fqn: "map", X_hash: float64(1371690461)})
									} else {
										if cljs_core.DecoratedValue_(x).Type().Implements(reflect.TypeOf((*cljs_core.CljsCoreISet)(nil)).Elem()) {
											return (&cljs_core.CljsCoreKeyword{Ns: nil, Name: "set", Fqn: "set", X_hash: float64(304602554)})
										} else {
											if cljs_core.DecoratedValue_(x).Type().Implements(reflect.TypeOf((*cljs_core.CljsCoreISequential)(nil)).Elem()) {
												return (&cljs_core.CljsCoreKeyword{Ns: nil, Name: "sequential", Fqn: "sequential", X_hash: float64(-1082983960)})
											} else {
												return (&cljs_core.CljsCoreKeyword{Ns: nil, Name: "atom", Fqn: "atom", X_hash: float64(-397043653)})

											}
										}
									}
								}
							}
						}
					}
				}
			}
		})
	}(&cljs_core.AFn{})

	Ds = func(ds *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(ds, 2, func(a interface{}, b interface{}) interface{} {
			return func() interface{} {
				var G__17 = func() interface{} {
					if cljs_core.Value_(Ep.X_invoke_Arity1(a).(*cljs_core.CljsCoreKeyword)).Type().AssignableTo(reflect.TypeOf((**cljs_core.CljsCoreKeyword)(nil)).Elem()) {
						return cljs_core.Native_get_instance_field.X_invoke_Arity2(cljs_core.Keyword.X_invoke_Arity1(Ep.X_invoke_Arity1(a).(*cljs_core.CljsCoreKeyword)), "Fqn")
					} else {
						return nil
					}
				}()
				_ = G__17
				switch G__17 {
				case "map":
					return Diff_associative

				case "sequential":
					return Diff_sequential

				case "set":
					return Diff_set

				case "atom":
					return Atom_diff

				default:
					panic((&js.Error{strings.Join([]string{cljs_core.Str.X_invoke_Arity1("No matching clause: ").(string), cljs_core.Str.X_invoke_Arity1(Ep.X_invoke_Arity1(a).(*cljs_core.CljsCoreKeyword)).(string)}, ``)}))

				}
			}().(cljs_core.CljsCoreIFn).X_invoke_Arity2(a, b)
		})
	}(&cljs_core.AFn{})

	Diff = func(diff *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(diff, 2, func(a interface{}, b interface{}) interface{} {
			if cljs_core.X_EQ_.Arity2IIB(a, b) {
				return (&cljs_core.CljsCorePersistentVector{nil, float64(3), float64(5), cljs_core.CljsCorePersistentVector_EMPTY_NODE, []interface{}{nil, nil, a}, nil})
			} else {
				if cljs_core.X_EQ_.Arity2IIB(Ep.X_invoke_Arity1(a).(*cljs_core.CljsCoreKeyword), Ep.X_invoke_Arity1(b).(*cljs_core.CljsCoreKeyword)) {
					return Ds.X_invoke_Arity2(a, b)
				} else {
					return Atom_diff.X_invoke_Arity2(a, b).(cljs_core.CljsCoreIVector)
				}
			}
		})
	}(&cljs_core.AFn{})

}
Exemple #4
0
func init() {
	Read_2_chars = func(read_2_chars *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(read_2_chars, 1, func(reader interface{}) interface{} {
			return strings.Join([]string{cljs_core.Str.X_invoke_Arity1(cljs_core.Decorate_(reader).(CljsReaderPushbackReader).Read_char_Arity1()).(string), cljs_core.Str.X_invoke_Arity1(cljs_core.Decorate_(reader).(CljsReaderPushbackReader).Read_char_Arity1()).(string)}, ``)
		})
	}(&cljs_core.AFn{})

	Read_4_chars = func(read_4_chars *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(read_4_chars, 1, func(reader interface{}) interface{} {
			return strings.Join([]string{cljs_core.Str.X_invoke_Arity1(cljs_core.Decorate_(reader).(CljsReaderPushbackReader).Read_char_Arity1()).(string), cljs_core.Str.X_invoke_Arity1(cljs_core.Decorate_(reader).(CljsReaderPushbackReader).Read_char_Arity1()).(string), cljs_core.Str.X_invoke_Arity1(cljs_core.Decorate_(reader).(CljsReaderPushbackReader).Read_char_Arity1()).(string), cljs_core.Str.X_invoke_Arity1(cljs_core.Decorate_(reader).(CljsReaderPushbackReader).Read_char_Arity1()).(string)}, ``)
		})
	}(&cljs_core.AFn{})

	Read_token = func(read_token *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(read_token, 2, func(rdr interface{}, initch interface{}) interface{} {
			{
				var sb = (&goog_string.StringBuffer{initch})
				var ch interface{} = cljs_core.Decorate_(rdr).(CljsReaderPushbackReader).Read_char_Arity1()
				_, _ = sb, ch
				for {
					if (cljs_core.Nil_(ch)) || (Whitespace_QMARK_.Arity1IB(ch)) || (Macro_terminating_QMARK_.Arity1IB(ch)) {
						cljs_core.Decorate_(rdr).(CljsReaderPushbackReader).Unread_Arity2(ch)
						return cljs_core.Native_invoke_instance_method.X_invoke_Arity3(sb, "ToString", []interface{}{})
					} else {
						sb, ch = func() *goog_string.StringBuffer {
							cljs_core.Native_invoke_instance_method.X_invoke_Arity3(sb, "Append", []interface{}{ch})
							return sb
						}(), cljs_core.Decorate_(rdr).(CljsReaderPushbackReader).Read_char_Arity1()
						continue
					}
				}
			}
		})
	}(&cljs_core.AFn{})

	Macros = func(macros *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(macros, 1, func(c interface{}) interface{} {
			if reflect.DeepEqual(c, "\"") {
				return Read_string_STAR_
			} else {
				if reflect.DeepEqual(c, ":") {
					return Read_keyword
				} else {
					if reflect.DeepEqual(c, ";") {
						return Read_comment
					} else {
						if reflect.DeepEqual(c, "'") {
							return Wrapping_reader.X_invoke_Arity1((&cljs_core.CljsCoreSymbol{Ns: nil, Name: "quote", Str: "quote", X_hash: float64(1377916282), X_meta: nil})).(cljs_core.CljsCoreIFn)
						} else {
							if reflect.DeepEqual(c, "@") {
								return Wrapping_reader.X_invoke_Arity1((&cljs_core.CljsCoreSymbol{Ns: nil, Name: "deref", Str: "deref", X_hash: float64(1494944732), X_meta: nil})).(cljs_core.CljsCoreIFn)
							} else {
								if reflect.DeepEqual(c, "^") {
									return Read_meta
								} else {
									if reflect.DeepEqual(c, "`") {
										return Not_implemented
									} else {
										if reflect.DeepEqual(c, "~") {
											return Not_implemented
										} else {
											if reflect.DeepEqual(c, "(") {
												return Read_list
											} else {
												if reflect.DeepEqual(c, ")") {
													return Read_unmatched_delimiter
												} else {
													if reflect.DeepEqual(c, "[") {
														return Read_vector
													} else {
														if reflect.DeepEqual(c, "]") {
															return Read_unmatched_delimiter
														} else {
															if reflect.DeepEqual(c, "{") {
																return Read_map
															} else {
																if reflect.DeepEqual(c, "}") {
																	return Read_unmatched_delimiter
																} else {
																	if reflect.DeepEqual(c, "\\") {
																		return func(G__169 *cljs_core.AFn) *cljs_core.AFn {
																			return cljs_core.Fn(G__169, 2, func(rdr interface{}, ___ interface{}) interface{} {
																				return cljs_core.Decorate_(rdr).(CljsReaderPushbackReader).Read_char_Arity1()
																			})
																		}(&cljs_core.AFn{})
																	} else {
																		if reflect.DeepEqual(c, "#") {
																			return Read_dispatch
																		} else {
																			return nil

																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		})
	}(&cljs_core.AFn{})

	Days_in_month = func() interface{} {
		var dim_norm = (&cljs_core.CljsCorePersistentVector{nil, float64(13), float64(5), cljs_core.CljsCorePersistentVector_EMPTY_NODE, []interface{}{nil, float64(31), float64(28), float64(31), float64(30), float64(31), float64(30), float64(31), float64(31), float64(30), float64(31), float64(30), float64(31)}, nil})
		var dim_leap = (&cljs_core.CljsCorePersistentVector{nil, float64(13), float64(5), cljs_core.CljsCorePersistentVector_EMPTY_NODE, []interface{}{nil, float64(31), float64(29), float64(31), float64(30), float64(31), float64(30), float64(31), float64(31), float64(30), float64(31), float64(30), float64(31)}, nil})
		_, _ = dim_norm, dim_leap
		return cljs_core.Identity.X_invoke_Arity1(func(G__170 *cljs_core.AFn, dim_norm cljs_core.CljsCoreIVector, dim_leap cljs_core.CljsCoreIVector) *cljs_core.AFn {
			return cljs_core.Fn(G__170, 2, func(month interface{}, leap_year_QMARK_ interface{}) interface{} {
				return cljs_core.Get.X_invoke_Arity2(func() cljs_core.CljsCoreIVector {
					if cljs_core.Truth_(leap_year_QMARK_) {
						return dim_leap
					} else {
						return dim_norm
					}
				}(), month)
			})
		}(&cljs_core.AFn{}, dim_norm, dim_leap))
	}()

	Parse_timestamp = func(parse_timestamp *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(parse_timestamp, 1, func(ts interface{}) interface{} {
			{
				var temp__4386__auto__ = Parse_and_validate_timestamp.X_invoke_Arity1(ts).(cljs_core.CljsCoreIVector)
				_ = temp__4386__auto__
				if cljs_core.Truth_(temp__4386__auto__) {
					{
						var vec__172 = temp__4386__auto__
						var years = cljs_core.Nth.X_invoke_Arity3(vec__172, float64(0), nil)
						var months = cljs_core.Nth.X_invoke_Arity3(vec__172, float64(1), nil)
						var days = cljs_core.Nth.X_invoke_Arity3(vec__172, float64(2), nil)
						var hours = cljs_core.Nth.X_invoke_Arity3(vec__172, float64(3), nil)
						var minutes = cljs_core.Nth.X_invoke_Arity3(vec__172, float64(4), nil)
						var seconds = cljs_core.Nth.X_invoke_Arity3(vec__172, float64(5), nil)
						var ms = cljs_core.Nth.X_invoke_Arity3(vec__172, float64(6), nil)
						var offset = cljs_core.Nth.X_invoke_Arity3(vec__172, float64(7), nil)
						_, _, _, _, _, _, _, _, _ = vec__172, years, months, days, hours, minutes, seconds, ms, offset
						return (&js.Date{ts})
					}
				} else {
					return Reader_error.X_invoke_ArityVariadic(nil, cljs_core.Array_seq.X_invoke_Arity1([]interface{}{strings.Join([]string{cljs_core.Str.X_invoke_Arity1("Unrecognized date/time syntax: ").(string), cljs_core.Str.X_invoke_Arity1(ts).(string)}, ``)}))
				}
			}
		})
	}(&cljs_core.AFn{})

	Read_queue = func(read_queue *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(read_queue, 1, func(elems interface{}) interface{} {
			if cljs_core.Vector_QMARK_.Arity1IB(elems) {
				return cljs_core.Into.X_invoke_Arity2(cljs_core.CljsCorePersistentQueue_EMPTY, elems)
			} else {
				return Reader_error.X_invoke_ArityVariadic(nil, cljs_core.Array_seq.X_invoke_Arity1([]interface{}{"Queue literal expects a vector for its elements."}))
			}
		})
	}(&cljs_core.AFn{})

	Read_date = func(read_date *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(read_date, 1, func(s interface{}) interface{} {
			if cljs_core.Value_(s).Kind() == reflect.String {
				return Parse_timestamp.X_invoke_Arity1(s).(*js.Date)
			} else {
				return Reader_error.X_invoke_ArityVariadic(nil, cljs_core.Array_seq.X_invoke_Arity1([]interface{}{"Instance literal expects a string for its timestamp."}))
			}
		})
	}(&cljs_core.AFn{})

	Read_uuid = func(read_uuid *cljs_core.AFn) *cljs_core.AFn {
		return cljs_core.Fn(read_uuid, 1, func(uuid interface{}) interface{} {
			if cljs_core.Value_(uuid).Kind() == reflect.String {
				return (&cljs_core.CljsCoreUUID{uuid})
			} else {
				return Reader_error.X_invoke_ArityVariadic(nil, cljs_core.Array_seq.X_invoke_Arity1([]interface{}{"UUID literal expects a string as its representation."}))
			}
		})
	}(&cljs_core.AFn{})

	X_STAR_tag_table_STAR_ = cljs_core.Atom.X_invoke_Arity1((&cljs_core.CljsCorePersistentArrayMap{nil, float64(3), []interface{}{"inst", Read_date, "uuid", Read_uuid, "queue", Read_queue}, nil})).(*cljs_core.CljsCoreAtom)

}