hara.common.util

doublevec?

added in 4.0

(doublevec? x)

checks for double vec

entry-summary

added in 4.1

(entry-summary entry)

returns a concise summary for an entry

error-with-context

added in 4.1

(error-with-context message data t)

wraps an exception with hara.lang generation context

hashvec?

added in 4.0

(hashvec? x)

checks for hash vec

lang-context

added in 4.0

(lang-context lang)

creates the lang context

lang-pointer

added in 4.0

(lang-pointer lang)(lang-pointer lang {:keys [module id], :as m})

creates a lang pointer

lang-rt

added in 4.0

(lang-rt)(lang-rt lang)(lang-rt ns lang)

getn the runtime contexts in a map

lang-rt-default

added in 4.0

(lang-rt-default ptr)

gets the default runtime function

lang-rt-list

added in 4.0

(lang-rt-list)(lang-rt-list ns)

lists rt in a namespace

module-id

added in 4.1

(module-id module)

gets the module id from a module symbol or map

sym-default-inverse-str

added in 4.0

(sym-default-inverse-str sym)

inverses the symbol string

sym-default-str

added in 4.0

(sym-default-str sym)

default fast symbol conversion

sym-full

added in 3.0

(sym-full {:keys [module id]})(sym-full module id)

creates a full symbol

sym-id

added in 3.0

(sym-id id)

gets the symbol id

sym-module

added in 3.0

(sym-module id)

gets the symbol namespace

sym-pair

added in 3.0

(sym-pair id)

gets the symbol pair

(sym-pair ’L.core/identity) => ’L.core identity

throw-with-context

added in 4.1

(throw-with-context message data t)

throws an exception wrapped with hara.lang generation context