☰

clojerl

0.7.0+build.2033.refc431a40

  • Home
  • API Reference

Modules

  • clj_analyzer
  • clj_behaviour
  • clj_cache
  • clj_compiler
  • clj_edn
  • clj_emitter
  • clj_emitter_pattern
  • clj_env
  • clj_hash_collision
  • clj_module
  • clj_multimethod
  • clj_murmur3
  • clj_protocol
  • clj_reader
  • clj_rt
  • clj_scope
  • clj_utils
  • clj_vector
  • clojerl
  • core_eval
  • Basic Types

  • clojerl.BitString
  • clojerl.Boolean
  • clojerl.Float
  • clojerl.Fn
  • clojerl.Integer
  • clojerl.Keyword
  • clojerl.Nil
  • clojerl.String
  • clojerl.Symbol
  • erlang.Fn
  • erlang.Port
  • erlang.Process
  • erlang.Reference
  • erlang.Type
  • erlang.util.Date
  • erlang.util.Regex
  • erlang.util.UUID
  • Namespaces & Vars

  • clojerl.Namespace
  • clojerl.Var
  • Collections & Data Structures

  • clojerl.Cons
  • clojerl.Cycle
  • clojerl.Iterate
  • clojerl.LazySeq
  • clojerl.List
  • clojerl.Map
  • clojerl.Range
  • clojerl.Repeat
  • clojerl.Set
  • clojerl.SortedMap
  • clojerl.SortedSet
  • clojerl.TupleMap
  • clojerl.Vector
  • erlang.List
  • erlang.Map
  • erlang.Tuple
  • Concurrency

  • clojerl.Agent
  • clojerl.Atom
  • clojerl.Delay
  • clojerl.Future
  • clojerl.ProcessVal
  • clojerl.Promise
  • I/O

  • erlang.io.File
  • erlang.io.PushbackReader
  • erlang.io.StringReader
  • erlang.io.StringWriter
  • Errors

  • clojerl.ArityError
  • clojerl.AssertionError
  • clojerl.BadArgumentError
  • clojerl.Error
  • clojerl.ExceptionInfo
  • clojerl.IllegalAccessError
  • Protocols

  • clojerl.IAssociative
  • clojerl.IBlockingDeref
  • clojerl.IChunk
  • clojerl.IChunkedSeq
  • clojerl.IColl
  • clojerl.ICounted
  • clojerl.IDeref
  • clojerl.IEncodeClojure
  • clojerl.IEncodeErlang
  • clojerl.IEquiv
  • clojerl.IError
  • clojerl.IExceptionInfo
  • clojerl.IFn
  • clojerl.IHash
  • clojerl.IIndexed
  • clojerl.IKVReduce
  • clojerl.ILookup
  • clojerl.IMap
  • clojerl.IMeta
  • clojerl.INamed
  • clojerl.IOError
  • clojerl.IPending
  • clojerl.IRecord
  • clojerl.IReduce
  • clojerl.IReference
  • clojerl.IReversible
  • clojerl.ISeq
  • clojerl.ISeqable
  • clojerl.ISequential
  • clojerl.ISet
  • clojerl.ISorted
  • clojerl.IStack
  • clojerl.IStringable
  • clojerl.IType
  • clojerl.IVector
  • erlang.io.ICloseable
  • erlang.io.IPushbackReader
  • erlang.io.IReader
  • erlang.io.IWriter

clojerl.Map

Summary

Types

  • entry()
  • mappings()
  • type()

Functions

  • __new__(KeyValues)
  • __new__(KeyValues, FailDuplicates)
  • apply(M, Args)
  • assoc(M, Key, Value)
  • clj->erl(X1, Recursive)
  • cons(M, X)
  • contains_key(X1, Key)
  • count(X1)
  • empty(X1)
  • entry_at(X1, Key)
  • equiv(X1, Y)
  • fold(M, N, Combine, Reduce, Invoke, Task, Fork, Join)
  • get(Map, Key)
  • get(X1, Key, NotFound)
  • hash(Map)
  • keys(X1)
  • kv-reduce(X1, Fun, Init)
  • meta(X1)
  • seq(Map)
  • str(M)
  • to_list(X1)
  • vals(X1)
  • with_meta(M, Metadata)
  • without(M, Key)

Types

entry()
-type entry() :: clj_hash_collision:entry().

mappings()
-type mappings() :: #{integer() => entry()}.

type()
-type type() ::
          #{'__type__' => 'clojerl.Map',
            map => mappings(),
            count => non_neg_integer(),
            meta => undefined | any()}.

Functions

__new__(KeyValues)
-spec '__new__'(list()) -> type().

__new__(KeyValues, FailDuplicates)
-spec '__new__'(list(), boolean()) -> type().

apply(M, Args)

assoc(M, Key, Value)

clj->erl(X1, Recursive)

cons(M, X)

contains_key(X1, Key)

count(X1)

empty(X1)

entry_at(X1, Key)

equiv(X1, Y)

fold(M, N, Combine, Reduce, Invoke, Task, Fork, Join)
-spec fold(type(), integer(), any(), any(), any(), any(), any(), any()) ->
              any().

get(Map, Key)

get(X1, Key, NotFound)

hash(Map)

keys(X1)

kv-reduce(X1, Fun, Init)

meta(X1)

seq(Map)

str(M)

to_list(X1)

vals(X1)

with_meta(M, Metadata)

without(M, Key)