A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clojure.github.io/clojure/branch-1.2.x/clojure.repl-api.html below:

clojure.repl - Clojure v1.2 API documentation

API for clojure.repl -

Full namespace name:

clojure.repl Overview
Utilities meant to be used interactively at the REPL

Public Variables and Functions
aproposfunction
Usage: (apropos str-or-pattern)
Given a regular expression or stringable thing, return a seq of
all definitions in all currently-loaded namespaces that match the
str-or-pattern.
Source

dirmacro
Usage: (dir nsname)
Prints a sorted directory of public vars in a namespace
Source

dir-fnfunction
Usage: (dir-fn ns)
Returns a sorted seq of symbols naming public vars in
a namespace
Source

sourcemacro
Usage: (source n)
Prints the source code for the given symbol, if it can find it.
This requires that the symbol resolve to a Var defined in a
namespace for which the .clj is in the classpath.

Example: (source filter)
Source

source-fnfunction
Usage: (source-fn x)
Returns a string of the source code for the given symbol, if it can
find it.  This requires that the symbol resolve to a Var defined in
a namespace for which the .clj is in the classpath.  Returns nil if
it can't find the source.  For most REPL usage, 'source' is more
convenient.

Example: (source-fn 'filter)
Source

Logo & site design by

Tom Hickey

.

Clojure auto-documentation system by Tom Faulhaber.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4