hara.common.grammar-xtalk

+xt-common-array+

+xt-common-basic+

+xt-common-bytes+

+xt-common-index+

+xt-common-lu+

+xt-common-math+

+xt-common-nil+

+xt-common-number+

+xt-common-object+

+xt-common-primitives+

+xt-common-print+

+xt-common-string+

+xt-functional-array+

+xt-functional-base+

+xt-functional-invoke+

+xt-functional-iter+

+xt-functional-return+

+xt-lang-bit+

+xt-lang-global+

+xt-lang-json+

+xt-lang-random+

+xt-lang-throw+

+xt-lang-time+

+xt-lang-unpack+

+xt-notify-http+

+xt-runtime-file+

+xt-runtime-promise+

+xt-runtime-shell+

+xt-socket+

tf-add

added in 4.1

(tf-add [_ a b & more])

wrapper for add transform

tf-bit-and

added in 4.0

(tf-bit-and [_ i1 i2])

bit and transform

tf-bit-lshift

added in 4.0

(tf-bit-lshift [_ x n])

bit left shift transform

tf-bit-or

added in 4.0

(tf-bit-or [_ i1 i2])

bit or transform

tf-bit-rshift

added in 4.0

(tf-bit-rshift [_ x n])

bit right shift transform

tf-bit-xor

added in 4.0

(tf-bit-xor [_ x n])

bit xor transform

tf-copy-key

added in 4.0

(tf-copy-key [_ dst src idx])

copy-key transform

tf-dec

added in 4.1

(tf-dec [_ x])

wrapper for dec transform

tf-del-key

added in 4.0

(tf-del-key [_ obj k])

del-key transform

tf-div

added in 4.1

(tf-div [_ a b & more])

wrapper for div transform

tf-eq

added in 4.1

(tf-eq [_ a b])

wrapper for eq transform

tf-eq-nil?

added in 4.0

(tf-eq-nil? [_ obj])

equals nil transform

tf-even?

added in 4.1

(tf-even? [_ x])

wrapper for even? transform

tf-first

added in 4.1

(tf-first [_ arr])

gets the first element of an indexed collection

tf-get-key

added in 4.0

(tf-get-key [_ obj k default])

get-key transform

tf-get-path

added in 4.0

(tf-get-path [_ obj ks default])

lowers x:get-path to direct chained path access

This is structural access: each path component is applied to the previous value and intermediate nil or missing values are not guarded. Use xt.lang.common-data/get-in for guarded path traversal.

tf-global-del

added in 4.0

(tf-global-del [_ sym val])

default global del transform

tf-global-has?

added in 4.0

(tf-global-has? [_ sym])

default global has transform

tf-global-set

added in 4.0

(tf-global-set [_ sym val])

default global set transform

tf-grammar-end-inclusive

added in 4.0

(tf-grammar-end-inclusive)

gets the end inclusive flag

tf-grammar-offset

added in 4.0

(tf-grammar-offset)

del-key transform

tf-gt

added in 4.1

(tf-gt [_ a b])

wrapper for gt transform

tf-gte

added in 4.1

(tf-gte [_ a b])

wrapper for gte transform

tf-has-key?

added in 4.0

(tf-has-key? [_ obj key check])

has key default transform

tf-inc

added in 4.1

(tf-inc [_ x])

wrapper for inc transform

tf-last

added in 4.1

(tf-last [_ arr])

gets the last element of an indexed collection

tf-lt

added in 4.1

(tf-lt [_ a b])

wrapper for lt transform

tf-lte

added in 4.1

(tf-lte [_ a b])

wrapper for lte transform

tf-lu-eq

added in 4.0

(tf-lu-eq [_ o1 o2])

lookup equals transform

tf-mul

added in 4.1

(tf-mul [_ a b & more])

wrapper for mul transform

tf-neg

added in 4.1

(tf-neg [_ x])

wrapper for neg transform

tf-neg?

added in 4.1

(tf-neg? [_ x])

wrapper for neg? transform

tf-neq

added in 4.1

(tf-neq [_ a b])

wrapper for neq transform

tf-not-nil?

added in 4.0

(tf-not-nil? [_ obj])

not nil transform

tf-odd?

added in 4.1

(tf-odd? [_ x])

wrapper for odd? transform

tf-offset

added in 4.0

(tf-offset [_ n])

gets the offset

tf-offset-base

added in 4.0

(tf-offset-base offset n)

calculates the offset

tf-offset-len

added in 4.0

(tf-offset-len [_ n])

gets the length offset

tf-offset-rev

added in 4.0

(tf-offset-rev [_ n])

gets the reverse offset

tf-offset-rlen

added in 4.0

(tf-offset-rlen [_ n])

gets the reverse length offset

tf-pos?

added in 4.1

(tf-pos? [_ x])

wrapper for pos? transform

tf-second

added in 4.1

(tf-second [_ arr])

gets the second element of an indexed collection

tf-second-last

added in 4.1

(tf-second-last [_ arr])

gets the second last element of an indexed collection

tf-set-key

added in 4.0

(tf-set-key [_ obj k v])

set-key transform

tf-str-gt

added in 4.1

(tf-str-gt [_ a b])

checks if string a sorts after b

tf-str-lt

added in 4.1

(tf-str-lt [_ a b])

checks if string a sorts before b

tf-sub

added in 4.1

(tf-sub [_ a b & more])

wrapper for sub transform

tf-throw

added in 4.0

(tf-throw [_ obj])

wrapper for throw transform

tf-zero?

added in 4.1

(tf-zero? [_ x])

wrapper for zero? transform