package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.2.tar.gz
sha256=203ee151ce793a977b2d3e66f8b3a0cd7a82cc7f15550c63d88cb30c71eb5f95
md5=64367c393f80ca784f88d07155da4fb0

doc/alba.core/Alba_core/Unifier/Make/index.html

Module Unifier.MakeSource

Parameters

module H : HOLES

Signature

Sourcetype t
Sourceval make : H.t -> t
Sourceval context : t -> H.t
Sourceval push : string -> Term.typ -> t -> t
Sourceval unify0 : Term.typ -> Term.typ -> bool -> t -> t option
Sourceval unify : Term.typ -> Term.typ -> bool -> H.t -> H.t option

unify act req is_super gh

Unify the type act with the type req using gh as the context with holes.

is_super indicates if the typ req can be regarded as a supertype of act.

OCaml

Innovation. Community. Security.