Liking cljdoc? Tell your friends :D

fireworks.core


!?clj/s

source

!?*clj/s

(!?*)
(!?* 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.
sourceraw docstring

!?-clj/s

source

!?--clj/s

source

!?>clj/s

source

!?logclj/s

source

!?log-clj/s

source

!?log--clj/s

source

!?ppclj/s

source

!?prclj/s

source

!?printclj/s

source

!?printlnclj/s

source

!?prnclj/s

source

?clj/smacro

(?)
(? 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.
sourceraw docstring

?-clj/smacro

(?-)
(?- 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.
sourceraw docstring

?--clj/s

(?--)
(?-- 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.
sourceraw docstring

?>clj/s

(?> x)

Passes value to clojure.core/tap> and returns value.

Passes value to clojure.core/tap> and returns value.
sourceraw docstring

?logclj/smacro

(?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.
sourceraw docstring

?log-clj/smacro

(?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.
sourceraw docstring

?log--clj/smacro

(?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.
sourceraw docstring

?ppclj/smacro

(?pp x)
(?pp label x)
source

?prclj/smacro

(?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.
sourceraw docstring

?printclj/smacro

(?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.
sourceraw docstring

?printlnclj/smacro

(?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.
sourceraw docstring

?prnclj/smacro

(?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.
sourceraw docstring

_pclj/s

(_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.
sourceraw docstring

cast-varclj/s

(cast-var defd {:keys [ns-str]})
source

core-defsclj/s

source

core-defs-clj-classesclj/s

source

formattedclj/s

(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.
sourceraw docstring

p-dataclj/smacro

(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.
sourceraw docstring

pprintclj/s

(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.
sourceraw docstring

user-label-or-form!clj/s

(user-label-or-form! {:keys [qf template label]})
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close