package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.1.tar.gz
sha256=439b1dce07c86e914d1ebf1712c5581418314b0c8d13594f27a698b1d25fe272
md5=5cf58d4ed4eacbe6f330e9d2378ef5c6

doc/alba.albalib/Albalib/Build_context/Lambda/index.html

Module Build_context.LambdaSource

Sourceval start : t -> t

Start a function abstraction and expect the first argument type.

Sourceval next : string -> bool -> t -> t

next name typed bc

Add a bound variable whose type is the last analyzed expression and expect the next variable type or the type of the inner expression.

Sourceval inner : t -> t

Expect the inner expression of the function abstraction whose type is the last analyzed expression.

Sourceval end_ : int -> int -> bool -> t -> (t, type_in_context * type_in_context) result

end_ nargs nbounds typed cb

End the function abstraction with nbounds bound variables. The function abstraction is applied to nargs arguments.

OCaml

Innovation. Community. Security.