diff --git a/core/procs.go b/core/procs.go index 3132aa59e..ae06a6064 100644 --- a/core/procs.go +++ b/core/procs.go @@ -37,7 +37,7 @@ const ( PRINT_IF_NOT_NIL ) -const VERSION = "v0.14.2" +const VERSION = "v0.15.0" const ( CLJ Dialect = iota diff --git a/docs/index.html b/docs/index.html index 98cd8d947..52ab44da9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -42,6 +42,9 @@

Index of Namespaces

  • joker.better-cond
  • +
  • + joker.bolt +
  • joker.core
  • @@ -145,6 +148,9 @@

    Index of Types

  • BigInt
  • +
  • + BoltDB +
  • Boolean
  • @@ -405,6 +411,12 @@

    joker.better-cond

    A collection of variations on Clojure's core macros.

    details +
  • +

    joker.bolt

    + v1.0 +

    Provide API for Bolt embedded database https://github.com/etcd-io/bbolt.

    + details +
  • joker.core

    v1.0 @@ -602,6 +614,12 @@

    BigInt

    (Concrete reference type)
    Wraps the Go 'math/big.Int' type

  • +
  • +

    BoltDB

    + v1.0 +

    (Concrete type)
    + Wraps Bolt DB type

    +
  • Boolean

    v1.0 diff --git a/docs/joker.core.html b/docs/joker.core.html index de47726a2..d12db9a06 100644 --- a/docs/joker.core.html +++ b/docs/joker.core.html @@ -1223,7 +1223,7 @@

    *1

    v1.0
    
       

    bound in a repl to the most recent value printed

    - source + source
  • *2

    @@ -1231,7 +1231,7 @@

    *2

    v1.0
    
       

    bound in a repl to the second most recent value printed

    - source + source
  • *3

    @@ -1239,7 +1239,7 @@

    *3

    v1.0
    
       

    bound in a repl to the third most recent value printed

    - source + source
  • *assert*

    @@ -1264,7 +1264,7 @@

    *e

    v1.0
    
       

    bound in a repl to the most recent exception caught by the repl

    - source + source
  • *err*

    @@ -1480,7 +1480,7 @@

    Takes a value from ch.
    Returns nil if ch is closed and nothing is available on ch.
    Blocks if nothing is available on ch and ch is not closed.

    - source + source

  • <=

    @@ -1542,7 +1542,7 @@

    >!

    Throws an exception if val is nil.
    Blocks if ch is full (no buffer space is available).
    Returns true unless ch is already closed.

    - source + source
  • >=

    @@ -1645,7 +1645,7 @@

    as->

    Binds name to expr, evaluates the first form in the lexical context
    of that binding, then binds name to that result, repeating for each
    successive form, returning the result of the last form.

    - source + source
  • assert

    @@ -1680,7 +1680,7 @@

    assoc-in

    Associates a value in a nested associative structure, where ks is a
    sequence of keys and v is the new value and returns a new nested structure.
    If any levels do not exist, hash-maps will be created.

    - source + source
  • associative?

    @@ -1689,7 +1689,7 @@

    associative?

    (associative? coll)

    Returns true if coll implements Associative

    - source + source
  • atom

    @@ -1887,7 +1887,7 @@

    bounded-count

    If coll is counted? returns its count, else will count at most the first n
    elements of coll using its seq

    - source + source
  • butlast

    @@ -1906,7 +1906,7 @@

    callable?

    Returns true if x implements Callable. Note that many data structures
    (e.g. sets and maps) implement Callable.

    - source + source
  • case

    @@ -1927,7 +1927,7 @@

    case

    default expression can follow the clauses, and its value will be
    returned if no clause matches. If no default expression is provided
    and no clause matches, an exception is thrown.

    - source + source
  • cast

    @@ -1946,7 +1946,7 @@

    chan

    (chan n)

    Returns a new channel with an optional buffer of size n.

    - source + source
  • char

    @@ -1998,7 +1998,7 @@

    close!


    Logically closing happens after all puts have been delivered. Therefore, any
    blocked puts will remain blocked until a taker releases them.

    - source + source
  • coll?

    @@ -2007,7 +2007,7 @@

    coll?

    (coll? x)

    Returns true if x implements Collection

    - source + source
  • comment

    @@ -2090,7 +2090,7 @@

    cond->

    through each form for which the corresponding test
    expression is true. Note that, unlike cond branching, cond-> threading does
    not short circuit after the first true test expression.

    - source + source
  • cond->>

    @@ -2102,7 +2102,7 @@

    cond->>

    through each form for which the corresponding test expression
    is true. Note that, unlike cond branching, cond->> threading does not short circuit
    after the first true test expression.

    - source + source
  • condp

    @@ -2128,7 +2128,7 @@

    condp

    and its value will be returned if no clause matches. If no default
    expression is provided and no clause matches, an
    exception is thrown.

    - source + source
  • conj

    @@ -2191,7 +2191,7 @@

    counted?

    (counted? coll)

    Returns true if coll implements count in constant time

    - source + source
  • create-ns

    @@ -2249,7 +2249,7 @@

    dedupe

    (dedupe coll)

    Returns a lazy sequence removing consecutive duplicates in coll.

    - source + source
  • default-data-readers

    @@ -2258,7 +2258,7 @@

    default-data-readers

    
       

    Default map of data reader functions provided by Joker. May be
    overridden by binding *data-readers*.

    - source + source
  • defmacro

    @@ -2279,7 +2279,7 @@

    defmethod

    (defmethod multifn dispatch-val & fn-tail)

    Creates and installs a new method of multimethod associated with dispatch-value.

    - source + source
  • defmulti

    @@ -2309,7 +2309,7 @@

    defmulti

    Multimethods expect the value of the hierarchy option to be supplied as
    a reference type e.g. a var (i.e. via the Var-quote dispatch macro #'
    or the var special form).

    - source + source
  • defn

    @@ -2555,7 +2555,7 @@

    empty?

    Returns true if coll has no items - same as (not (seq coll)).
    Please use the idiom (seq x) rather than (not (empty? x))

    - source + source
  • eval

    @@ -2588,7 +2588,7 @@

    every-pred

    composing predicates return a logical true value against all of its arguments, else it returns
    false. Note that f is short-circuiting in that it will stop execution on the first
    argument that triggers a logical false result against the original predicates.

    - source + source
  • every?

    @@ -2676,7 +2676,7 @@

    filterv

    Returns a vector of the items in coll for which
    (pred item) returns true. pred must be free of side-effects.

    - source + source
  • find

    @@ -2725,7 +2725,7 @@

    flatten

    Takes any nested combination of sequential things (lists, vectors,
    etc.) and returns their contents as a single, flat sequence.
    (flatten nil) returns an empty sequence.

    - source + source
  • float?

    @@ -2768,7 +2768,7 @@

    fn?

    (fn? x)

    Returns true if x is Fn, i.e. is an object created via fn.

    - source + source
  • fnext

    @@ -2792,7 +2792,7 @@

    fnil

    versions can replace arguments in the second and third
    positions (y, z). Note that the function f can take any number of
    arguments, not just the one(s) being nil-patched.

    - source + source
  • for

    @@ -2837,7 +2837,7 @@

    frequencies

    Returns a map from distinct items in coll to the number of times
    they appear.

    - source + source
  • gensym

    @@ -2871,7 +2871,7 @@

    get-in

    Returns the value in a nested associative structure,
    where ks is a sequence of keys. Returns nil if the key
    is not present, or the not-found value if supplied.

    - source + source
  • get-method

    @@ -2881,7 +2881,7 @@

    get-method

    Given a multimethod and a dispatch value, returns the dispatch fn
    that would apply to that value, or nil if none apply and no default

    - source + source
  • go

    @@ -2902,7 +2902,7 @@

    go

    So using goroutines only makes sense if you do I/O (specifically, calling the above functions)
    inside them. Also, note that a goroutine may never have a chance to run if the root goroutine
    (or another goroutine) doesn't do any I/O or channel operations (<! or >!).

    - source + source
  • group-by

    @@ -2913,7 +2913,7 @@

    group-by

    Returns a map of the elements of coll keyed by the result of
    f on each element. The value at each key will be a vector of the
    corresponding elements, in the order they appeared in coll.

    - source + source
  • hash

    @@ -3045,7 +3045,7 @@

    indexed?

    (indexed? coll)

    Return true if coll implements Indexed, indicating efficient lookup by index

    - source + source
  • instance?

    @@ -3127,7 +3127,7 @@

    into

    Returns a new coll consisting of to-coll with all of the items of
    from-coll conjoined.

    - source + source
  • iterate

    @@ -3145,7 +3145,7 @@

    joker-version

    (joker-version)

    Returns joker version as a printable string.

    - source + source
  • juxt

    @@ -3172,7 +3172,7 @@

    keep

    Returns a lazy sequence of the non-nil results of (f item). Note,
    this means false return values will be included. f must be free of
    side-effects.

    - source + source
  • keep-indexed

    @@ -3183,7 +3183,7 @@

    keep-indexed

    Returns a lazy sequence of the non-nil results of (f index item). Note,
    this means false return values will be included. f must be free of
    side-effects.

    - source + source
  • key

    @@ -3281,7 +3281,7 @@

    letfn

    Takes a vector of function specs and a body, and generates a set of
    bindings of functions to their names. All of the names are available
    in all of the definitions of the functions, as well as the body.

    - source + source
  • line-seq

    @@ -3323,7 +3323,7 @@

    list?

    (list? x)

    Returns true if x is a List

    - source + source
  • load

    @@ -3333,7 +3333,7 @@

    load

    Loads code from libs, throwing error if cyclic dependency detected,
    and ignoring libs already being loaded.

    - source + source
  • load-file

    @@ -3342,7 +3342,7 @@

    load-file

    (load-file f)

    Loads code from file f. Does not protect against recursion.

    - source + source
  • load-string

    @@ -3361,7 +3361,7 @@

    loaded-libs

    (loaded-libs)

    Returns an UNSORTED set of symbols naming the currently loaded libs

    - source + source
  • loop

    @@ -3420,7 +3420,7 @@

    map-indexed

    and the first item of coll, followed by applying f to 1 and the second
    item in coll, etc, until coll is exhausted. Thus function f should
    accept 2 arguments, index and item.

    - source + source
  • map?

    @@ -3455,7 +3455,7 @@

    mapv

    of second items in each coll, until any one of the colls is
    exhausted. Any remaining items in other colls are ignored. Function
    f should accept number-of-colls arguments.

    - source + source
  • max

    @@ -3489,7 +3489,7 @@

    memoize

    memoized version of the function keeps a cache of the mapping from arguments
    to results and, when calls with the same arguments are repeated often, has
    higher performance at the expense of higher memory use.

    - source + source
  • merge

    @@ -3530,7 +3530,7 @@

    methods

    (methods multifn)

    Given a multimethod, returns a map of dispatch values -> dispatch fns

    - source + source
  • min

    @@ -3569,7 +3569,7 @@

    name

    v1.0
    (name x)
    -

    Returns the name String of a string, symbol or keyword.

    +

    Returns the name String of a string, symbol, keyword or any Named object (e.g. File).

    source
  • @@ -3806,7 +3806,7 @@

    ns-sources

    value is the URL of the resource. Only http:// and https:// are
    currently supported; everything else is treated as a local
    pathname. HTTP URLs are cached in $HOME/.jokerd/deps/.

    - source + source
  • ns-unalias

    @@ -3945,7 +3945,7 @@

    partition-all

    Returns a lazy sequence of lists like partition, but may include
    partitions with fewer than n items at the end.

    - source + source
  • partition-by

    @@ -3955,7 +3955,7 @@

    partition-by

    Applies f to each value in coll, splitting it each time f returns a
    new value. Returns a lazy seq of partitions.

    - source + source
  • peek

    @@ -4044,7 +4044,7 @@

    prefer-method

    Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y
    when there is a conflict

    - source + source
  • prefers

    @@ -4053,7 +4053,7 @@

    prefers

    (prefers multifn)

    Given a multimethod, returns a map of preferred value -> set of other values

    - source + source
  • print

    @@ -4211,7 +4211,7 @@

    rand-nth

    Return a random element of the (sequential) collection. Will have
    the same performance characteristics as nth for the given
    collection.

    - source + source
  • random-sample

    @@ -4221,7 +4221,7 @@

    random-sample

    Returns items from coll with random probability of prob (0.0 -
    1.0).

    - source + source
  • range

    @@ -4327,7 +4327,7 @@

    realized?

    (realized? x)

    Returns true if a value has been produced for a delay or lazy sequence.

    - source + source
  • reduce

    @@ -4370,7 +4370,7 @@

    reductions

    Returns a lazy seq of the intermediate values of the reduction (as
    per reduce) of coll by f, starting with init.

    - source + source
  • refer

    @@ -4429,7 +4429,7 @@

    remove-all-methods

    (remove-all-methods multifn)

    Removes all of the methods of multimethod.

    - source + source
  • remove-method

    @@ -4438,7 +4438,7 @@

    remove-method

    (remove-method multifn dispatch-val)

    Removes the method of multimethod associated with dispatch-value.

    - source + source
  • remove-ns

    @@ -4550,7 +4550,7 @@

    require

    abbreviated as 's'.

    (require '(clojure zip [set :as s]))

    - source + source
  • requiring-resolve

    @@ -4560,7 +4560,7 @@

    requiring-resolve

    Resolves namespace-qualified sym per 'resolve'. If initial resolve
    fails, attempts to require sym's namespace and retries.

    - source + source
  • reset!

    @@ -4627,7 +4627,7 @@

    reversible?

    (reversible? coll)

    Returns true if coll implements Reversible

    - source + source
  • rseq

    @@ -4647,7 +4647,7 @@

    run!

    Runs the supplied procedure (via reduce), for purposes of side
    effects, on successive items in the collection. Returns nil.

    - source + source
  • second

    @@ -4693,7 +4693,7 @@

    seqable?

    (seqable? x)

    Return true if the seq function is supported for x

    - source + source
  • sequence

    @@ -4712,7 +4712,7 @@

    sequential?

    (sequential? coll)

    Returns true if coll implements Sequential

    - source + source
  • set

    @@ -4739,7 +4739,7 @@

    shuffle

    (shuffle coll)

    Return a random permutation of coll

    - source + source
  • simple-ident?

    @@ -4775,7 +4775,7 @@

    slurp

    (slurp f)

    Opens file f and reads all its contents, returning a string.

    - source + source
  • some

    @@ -4797,7 +4797,7 @@

    some->

    When expr is not nil, threads it into the first form (via ->),
    and when that result is not nil, through the next etc.

    - source + source
  • some->>

    @@ -4807,7 +4807,7 @@

    some->>

    When expr is not nil, threads it into the first form (via ->>),
    and when that result is not nil, through the next etc.

    - source + source
  • some-fn

    @@ -4822,7 +4822,7 @@

    some-fn

    returned by one of its composing predicates against any of its arguments, else it returns
    logical false. Note that f is short-circuiting in that it will stop execution on the first
    argument that triggers a logical true result against the original predicates.

    - source + source
  • some?

    @@ -4873,7 +4873,7 @@

    spit

    Opposite of slurp. Opens file f, writes content, then
    closes f.

    - source + source
  • split-at

    @@ -5063,7 +5063,7 @@

    trampoline

    returns that non-fn value. Note that if you want to return a fn as a
    final value, you must wrap it in some data structure and unpack it
    after trampoline returns.

    - source + source
  • tree-seq

    @@ -5120,7 +5120,7 @@

    update

    key and f is a function that will take the old value
    and any supplied args and return the new value, and returns a new
    structure. If the key does not exist, nil is passed as the old value.

    - source + source
  • update-in

    @@ -5133,7 +5133,7 @@

    update-in

    and any supplied args and return the new value, and returns a new
    nested structure. If any levels do not exist, hash-maps will be
    created.

    - source + source
  • use

    @@ -5148,7 +5148,7 @@

    use

    'use accepts additional options in libspecs: :exclude, :only, :rename.
    The arguments and semantics for :exclude, :only, and :rename are the same
    as those documented for joker.core/refer.

    - source + source
  • val

    @@ -5292,7 +5292,7 @@

    while

    Repeatedly executes body while test expression is true. Presumes
    some side-effect will cause test to become false/nil. Returns nil

    - source + source
  • with-bindings

    diff --git a/docs/joker.io.html b/docs/joker.io.html index 49082801f..390d55792 100644 --- a/docs/joker.io.html +++ b/docs/joker.io.html @@ -10,12 +10,27 @@

    Namespace: joker.io

    Index

    diff --git a/docs/joker.os.html b/docs/joker.os.html index ad50632b3..aceb79018 100644 --- a/docs/joker.os.html +++ b/docs/joker.os.html @@ -21,6 +21,9 @@

    Index

  • create
  • +
  • + create-temp +
  • cwd
  • @@ -45,6 +48,9 @@

    Index

  • mkdir
  • +
  • + mkdir-temp +
  • open
  • @@ -66,6 +72,9 @@

    Index

  • stat
  • +
  • + temp-dir +