hara.common.grammar-xtalk
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])
tf-bit-lshift
added in 4.0
(tf-bit-lshift [_ x n])
tf-bit-or
added in 4.0
(tf-bit-or [_ i1 i2])
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])
tf-copy-key
added in 4.0
(tf-copy-key [_ dst src idx])
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])
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])
tf-eq-nil?
added in 4.0
(tf-eq-nil? [_ obj])
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])
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)
tf-gt
added in 4.1
(tf-gt [_ a b])
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])
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])
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])
tf-odd?
added in 4.1
(tf-odd? [_ x])
wrapper for odd? transform
tf-offset
added in 4.0
(tf-offset [_ n])
tf-offset-base
added in 4.0
(tf-offset-base offset n)
tf-offset-len
added in 4.0
(tf-offset-len [_ n])
tf-offset-rev
added in 4.0
(tf-offset-rev [_ n])
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])
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