hara.model.annex.spec-xtalk.fn-php
php-tf-for-array
added in 4.1
(php-tf-for-array [_ [lhs rhs] & body])
php-tf-for-index
added in 4.1
(php-tf-for-index [_ [i [start end step]] & body])
lowers an exclusive numeric range to PHP’s inclusive range helper
php-tf-for-iter
added in 4.1
(php-tf-for-iter [_ [e it] & body])
php-tf-for-object
added in 4.1
(php-tf-for-object [_ [lhs rhs] & body])
php-tf-x-apply
(php-tf-x-apply [_ f args])
php-tf-x-arr-assign
(php-tf-x-arr-assign [_ arr other])
php-tf-x-arr-clone
(php-tf-x-arr-clone [_ arr])
php-tf-x-arr-each
(php-tf-x-arr-each [_ arr f])
php-tf-x-arr-every
(php-tf-x-arr-every [_ arr pred])
php-tf-x-arr-filter
(php-tf-x-arr-filter [_ arr pred])
php-tf-x-arr-find
(php-tf-x-arr-find [_ arr pred])
php-tf-x-arr-foldl
(php-tf-x-arr-foldl [_ arr f init])
php-tf-x-arr-foldr
(php-tf-x-arr-foldr [_ arr f init])
php-tf-x-arr-insert
(php-tf-x-arr-insert [_ arr idx e])
php-tf-x-arr-map
(php-tf-x-arr-map [_ arr f])
php-tf-x-arr-pop
(php-tf-x-arr-pop [_ arr])
php-tf-x-arr-pop-first
(php-tf-x-arr-pop-first [_ arr])
php-tf-x-arr-push
(php-tf-x-arr-push [_ arr item])
php-tf-x-arr-push-first
(php-tf-x-arr-push-first [_ arr item])
php-tf-x-arr-remove
(php-tf-x-arr-remove [_ arr idx])
php-tf-x-arr-slice
(php-tf-x-arr-slice [_ arr start end])
php-tf-x-arr-some
(php-tf-x-arr-some [_ arr pred])
php-tf-x-arr-sort
(php-tf-x-arr-sort [_ arr & more])
php-tf-x-async-run
added in 4.1
(php-tf-x-async-run [_ thunk])
PHP is synchronous; run the thunk immediately
php-tf-x-cat
(php-tf-x-cat [_ & args])
php-tf-x-construct
(php-tf-x-construct [_ f args])
php-tf-x-err
(php-tf-x-err [_ msg])
php-tf-x-eval
(php-tf-x-eval [_ s])
php-tf-x-ex-data
added in 4.1
(php-tf-x-ex-data [_ err])
gets the exception data payload
php-tf-x-ex-message
added in 4.1
(php-tf-x-ex-message [_ err])
gets the exception message
php-tf-x-ex-native?
added in 4.1
(php-tf-x-ex-native? [_ err])
checks whether value is a native PHP exception
php-tf-x-ex-new
added in 4.1
(php-tf-x-ex-new [_ message & [data]])
creates a PHP Exception with optional data payload
php-tf-x-file-slurp
(php-tf-x-file-slurp [_ path opts cb])
php-tf-x-file-spit
(php-tf-x-file-spit [_ path content opts cb])
php-tf-x-has-key?
(php-tf-x-has-key? [_ obj key check])
php-tf-x-is-array?
(php-tf-x-is-array? [_ e])
php-tf-x-is-boolean?
(php-tf-x-is-boolean? [_ e])
php-tf-x-is-integer?
(php-tf-x-is-integer? [_ e])
php-tf-x-is-number?
(php-tf-x-is-number? [_ e])
php-tf-x-is-object?
(php-tf-x-is-object? [_ e])
php-tf-x-is-string?
(php-tf-x-is-string? [_ e])
php-tf-x-iter-eq
(php-tf-x-iter-eq [_ it0 it1 eq-fn])
php-tf-x-iter-from
(php-tf-x-iter-from [_ obj])
php-tf-x-iter-from-arr
(php-tf-x-iter-from-arr [_ arr])
php-tf-x-iter-from-obj
(php-tf-x-iter-from-obj [_ obj])
php-tf-x-iter-has?
(php-tf-x-iter-has? [_ obj])
php-tf-x-iter-native?
(php-tf-x-iter-native? [_ it])
php-tf-x-iter-next
(php-tf-x-iter-next [_ it])
php-tf-x-len
(php-tf-x-len [_ arr])
php-tf-x-lu-del
(php-tf-x-lu-del [_ lu obj])
php-tf-x-lu-eq
(php-tf-x-lu-eq [_ o1 o2])
php-tf-x-lu-get
(php-tf-x-lu-get [_ lu obj])
php-tf-x-lu-set
(php-tf-x-lu-set [_ lu obj gid])
php-tf-x-m-max
(php-tf-x-m-max [_ & args])
php-tf-x-m-min
(php-tf-x-m-min [_ & args])
php-tf-x-m-mod
(php-tf-x-m-mod [_ num denom])
php-tf-x-m-pow
(php-tf-x-m-pow [_ base n])
php-tf-x-m-quot
(php-tf-x-m-quot [_ num denom])
php-tf-x-now-ms
(php-tf-x-now-ms _)
php-tf-x-obj-assign
(php-tf-x-obj-assign [_ obj m])
php-tf-x-obj-clone
(php-tf-x-obj-clone [_ obj])
php-tf-x-obj-keys
(php-tf-x-obj-keys [_ obj])
php-tf-x-obj-pairs
(php-tf-x-obj-pairs [_ obj])
php-tf-x-obj-vals
(php-tf-x-obj-vals [_ obj])
php-tf-x-print
(php-tf-x-print [_ & args])
php-tf-x-random
(php-tf-x-random _)
php-tf-x-return-encode
(php-tf-x-return-encode [_ out id key])
php-tf-x-return-eval
(php-tf-x-return-eval [_ s wrap-fn])
php-tf-x-return-wrap
(php-tf-x-return-wrap [_ f encode-fn])
php-tf-x-shell
(php-tf-x-shell [_ s opts])
php-tf-x-socket-close
(php-tf-x-socket-close [_ conn])
php-tf-x-socket-connect
(php-tf-x-socket-connect [_ host & [port opts]])
php-tf-x-socket-send
(php-tf-x-socket-send [_ conn value])
php-tf-x-str-char
(php-tf-x-str-char [_ s i])
php-tf-x-str-comp
(php-tf-x-str-comp [_ a b])
php-tf-x-str-ends-with
(php-tf-x-str-ends-with [_ s suffix])
php-tf-x-str-index-of
(php-tf-x-str-index-of [_ s tok])
php-tf-x-str-join
(php-tf-x-str-join [_ s arr])
php-tf-x-str-len
(php-tf-x-str-len [_ s])
php-tf-x-str-pad-left
(php-tf-x-str-pad-left [_ s n pad])
php-tf-x-str-pad-right
(php-tf-x-str-pad-right [_ s n pad])
php-tf-x-str-replace
(php-tf-x-str-replace [_ s tok replacement])
php-tf-x-str-split
(php-tf-x-str-split [_ s tok])
php-tf-x-str-starts-with
(php-tf-x-str-starts-with [_ s prefix])
php-tf-x-str-substring
(php-tf-x-str-substring [_ s start & args])
php-tf-x-str-to-fixed
(php-tf-x-str-to-fixed [_ s & [digits]])
php-tf-x-str-to-lower
(php-tf-x-str-to-lower [_ s])
php-tf-x-str-to-upper
(php-tf-x-str-to-upper [_ s])
php-tf-x-str-trim
(php-tf-x-str-trim [_ s])
php-tf-x-str-trim-left
(php-tf-x-str-trim-left [_ s])
php-tf-x-str-trim-right
(php-tf-x-str-trim-right [_ s])
php-tf-x-type-native
(php-tf-x-type-native [_ obj])
php-tf-x-with-delay
(php-tf-x-with-delay [_ ms thunk])