Liking cljdoc? Tell your friends :D

latte-kernel.presyntax

The rich syntax of the lambda-calculus implemented by LaTTe.

The rich syntax of the lambda-calculus implemented
by LaTTe.
raw docstring

+reserved-symbols+clj/s

source

arrow-kw?clj/s

(arrow-kw? t)

Arrow type?

Arrow type?
sourceraw docstring

exists-kw?clj/s

(exists-kw? t)

Existential?

Existential?
sourceraw docstring

kind?clj/s

(kind? t)

Is t the sort :kind?

Is `t` the sort `:kind`?
sourceraw docstring

lambda-kw?clj/s

(lambda-kw? t)

Lambda abstraction?

Lambda abstraction?
sourceraw docstring

left-binarizeclj/s

(left-binarize t)

Binarization (sic!) of an application.

Binarization (sic!) of an application.
sourceraw docstring

parseclj/s

(parse t)
(parse def-env t)

Parse term t in definitional environment def-env (empty by default).

Parse term `t` in definitional environment `def-env` (empty by default).
sourceraw docstring

parse-application-termclj/s

(parse-application-term def-env t bound)
source

parse-arrow-termclj/s

(parse-arrow-term def-env t bound)

Parse an arrow type.

Parse an arrow type.
sourceraw docstring

parse-binder-termclj/s

(parse-binder-term def-env binder t bound)

Parse the binding vector of an abstraction form.

Parse the binding vector of an abstraction form.
sourceraw docstring

parse-bindingclj/s

(parse-binding def-env v bound)

Parse an abstraction binding form.

Parse an abstraction binding form.
sourceraw docstring

parse-compound-termclj/s

(parse-compound-term def-env t bound)

Parses t as a compound term.

Parses `t` as a compound term.
sourceraw docstring

parse-defined-termclj/s

(parse-defined-term def-env sdef t bound)

Parse a defined term.

Parse a defined term.
sourceraw docstring

parse-lambda-termclj/s

(parse-lambda-term def-env t bound)

Parse a lambda abstraction.

Parse a lambda abstraction.
sourceraw docstring

parse-product-termclj/s

(parse-product-term def-env t bound)

Parse a production abstraction.

Parse a production abstraction.
sourceraw docstring

parse-symbol-termclj/s

(parse-symbol-term def-env sym bound)
source

parse-termclj/s

(parse-term def-env t)
(parse-term def-env t bound)

Parses the input term t in definitional environment def-env and set of bound variables bound. The function returns a pair with the keyword :ok and the parsed term if the parse was successful, else :ko followed by a parse error.

Parses the input term `t` in definitional environment `def-env` and
set of bound variables `bound`.
The function returns a pair with the keyword `:ok` and the parsed term if the
parse was successful, else `:ko` followed by a parse error.
sourceraw docstring

parse-termsclj/s

(parse-terms def-env ts bound)

Parse a sequence ts of terms.

Parse a sequence `ts` of terms.
sourceraw docstring

product-kw?clj/s

(product-kw? t)

Product abstraction?

Product abstraction?
sourceraw docstring

reserved-symbol?clj/s

(reserved-symbol? s)

Is s a reserved symbol?

Is `s` a reserved symbol?
sourceraw docstring

type?clj/s

(type? t)

Is t the sort :type?

Is `t` the sort `:type`?
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close