(!?*)
(!?* x)
(!?* _ x)
A no-op function which returns the value. Intended to temporarily silence the printing of a form while still keeping it wrapped.
A no-op function which returns the value. Intended to temporarily silence the printing of a form while still keeping it wrapped.
(?)
(? x)
(? a x)
Prints the form (or user-supplied label), the namespace info, and then the value.
The form (or optional label) and value are formatted with fireworks.core/_p.
Returns the value.
If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
Prints the form (or user-supplied label), the namespace info, and then the value. The form (or optional label) and value are formatted with fireworks.core/_p. Returns the value. If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
(?-)
(?- x)
(?- a x)
Prints the namespace info, and then the value.
The form (or optional label) and value are formatted with fireworks.core/_p.
Returns the value.
If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
Prints the namespace info, and then the value. The form (or optional label) and value are formatted with fireworks.core/_p. Returns the value. If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
(?--)
(?-- x)
(?-- a x)
Prints the value. The value is formatted with fireworks.core/_p. Returns the value.
Prints the value. The value is formatted with fireworks.core/_p. Returns the value.
(?> x)
Passes value to clojure.core/tap> and returns value.
Passes value to clojure.core/tap> and returns value.
(?log)
(?log x)
(?log a x)
Prints the form (or user-supplied label), the namespace info, and then logs the value using console.log or pp/pprint
The form (or optional label) and value are formatted with fireworks.core/_p.
Returns the value.
If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
Prints the form (or user-supplied label), the namespace info, and then logs the value using console.log or pp/pprint The form (or optional label) and value are formatted with fireworks.core/_p. Returns the value. If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
(?log-)
(?log- x)
(?log- a x)
Prints the namespace info, and then logs the value using console.log or pp/pprint
The form (or optional label) and value are formatted with fireworks.core/_p.
Returns the value.
If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
Prints the namespace info, and then logs the value using console.log or pp/pprint The form (or optional label) and value are formatted with fireworks.core/_p. Returns the value. If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
(?log--)
(?log-- x)
(?log-- a x)
Prints the namespace info, and then logs the value using console.log or pp/pprint
The form (or optional label) and value are formatted with fireworks.core/_p.
Returns the value.
If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
Prints the namespace info, and then logs the value using console.log or pp/pprint The form (or optional label) and value are formatted with fireworks.core/_p. Returns the value. If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
(?pr x)
(?pr label x)
Prints the value using clojure.core/println`, and then returns the value.
Prints the value using clojure.core/println`, and then returns the value.
(?print x)
(?print label x)
Prints the value using clojure.core/println`, and then returns the value.
Prints the value using clojure.core/println`, and then returns the value.
(?println x)
(?println label x)
Prints the value using clojure.core/println`, and then returns the value.
Prints the value using clojure.core/println`, and then returns the value.
(?prn x)
(?prn label x)
Prints the value using clojure.core/println`, and then returns the value.
Prints the value using clojure.core/println`, and then returns the value.
(_p opts x)
(_p a opts x)
Internal runtime dispatch target for fireworks.core/? and fireworks.core/p. Needs to be a public function because fireworks.core/? is a macro.
Pretty-prints the value with syntax coloring. Takes an optional leading argument (custom label or options map). Returns the value.
Internal runtime dispatch target for fireworks.core/? and fireworks.core/p. Needs to be a public function because fireworks.core/? is a macro. Pretty-prints the value with syntax coloring. Takes an optional leading argument (custom label or options map). Returns the value.
(formatted source {:keys [form-meta qf template log? p-data? ns-str] :as opts})
Formatted log with file-info, form/comment, fat-arrow and syntax-colored pretty-printed result. Used by fireworks.core/? macro.
Formatted log with file-info, form/comment, fat-arrow and syntax-colored pretty-printed result. Used by fireworks.core/? macro.
(p-data)
(p-data x)
(p-data a x)
Formats the namespace info, then the form (or user-supplied label), and then the value. The form (or optional label) and value are formatted with fireworks.core/p.
If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned.
Returns a map of data with the following shape:
{:formatted {:string "..." :css-styles [...]} :formatted+ {:string "..." :css-styles [...]} :file "sandbox/browser.cljs" :end-column 32 :ns-str "sandbox.browser" :file-info-str "sandbox.browser:119:22" :column 22 :line 119 :end-line 119 :quoted-value "..."}
The entries [:formatted :string], [:formatted+ :string], and [:quoted-value]
represent the syntax-colored values. The tokens within these strings are
wrapped with %c
escaped codes for browser dev consoles, or sgr codes,
for terminal emulators.
Formats the namespace info, then the form (or user-supplied label), and then the value. The form (or optional label) and value are formatted with fireworks.core/p. If value is a list whose first element is a member of fireworks.core/core-defs, the value gets evaluated first, then the quoted var is printed and returned. Returns a map of data with the following shape: {:formatted {:string "..." :css-styles [...]} :formatted+ {:string "..." :css-styles [...]} :file "sandbox/browser.cljs" :end-column 32 :ns-str "sandbox.browser" :file-info-str "sandbox.browser:119:22" :column 22 :line 119 :end-line 119 :quoted-value "..."} The entries [:formatted :string], [:formatted+ :string], and [:quoted-value] represent the syntax-colored values. The tokens within these strings are wrapped with `%c` escaped codes for browser dev consoles, or sgr codes, for terminal emulators.
(pprint x)
(pprint x opts)
(pprint writer
x
{:keys [max-width map-entry-separator]
:or {max-width 72 map-entry-separator ","}
:as opts})
Pretty-print an object.
Given one arg (an object), pretty-print the object into out using the default options.
Given two args (an object and an options map), pretty-print the object into out using the given options.
Given three args (a java.io.Writer, a object, and an options map), pretty-print the object into the writer using the given options.
If print-dup is true, pprint does not attempt to pretty-print; instead, it falls back to default print-dup behavior. ClojureScript does not support print-dup.
Options:
:max-width (long or ##Inf, default: 72) Avoid printing anything beyond the column indicated by this value.
:map-entry-separator (string, default: ",") The string to print between map entries. To not print commas between map entries, use an empty string.
Pretty-print an object. Given one arg (an object), pretty-print the object into *out* using the default options. Given two args (an object and an options map), pretty-print the object into *out* using the given options. Given three args (a java.io.Writer, a object, and an options map), pretty-print the object into the writer using the given options. If *print-dup* is true, pprint does not attempt to pretty-print; instead, it falls back to default print-dup behavior. ClojureScript does not support *print-dup*. Options: :max-width (long or ##Inf, default: 72) Avoid printing anything beyond the column indicated by this value. :map-entry-separator (string, default: ",") The string to print between map entries. To not print commas between map entries, use an empty string.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close