Releases: LPCIC/elpi
Releases · LPCIC/elpi
1.14.3
1.14.2
1.14.1
1.14.0
CHANGES:
- Runtime/FFI:
- Fix handling of eta expanded unification variables. Many thanks to
Nathan Guermond for testing this tricky case. - Change
Rawdata.Constants.eqc
to a builtin - Fix
Rawdata.Constants.cutc
has always been a builtin - Fix compatibility with OCaml multicore, no more
PtrMap
- Fix handling of eta expanded unification variables. Many thanks to
- API:
- New
FlexibleData.WeakMap
to link unification variables with host
data based on OCaml'sEphemeron
- Change
Conversion.extra_goals
is now an extensible data type with one
standard constructorConversion.Unify
taking two terms - New
RawData.set_extra_goals_postprocessing
can be used to
post process the extra goals generated by an FFI call.
One has to translate extensions to theextra_goals
datatype to
RawData.RawGoal
(orConversion.Unify
), but can also take global
actions like cancelling out useless or duplicate goals - Change
Setup.init
to take in input a~file_resolver
rather than a list
of~paths
and a~basedir
. A custom file resolver can use some logic
from the host application to find files, rather than an hardcoded one - New
Parse.std_resolver
building a standard resolver (based on paths) - Change signature of
Parse.resolve_file
making?cwd
explicit
- New
- Library:
- Better error messages in
std.nth
declare_constraint
is nowvariadic any prop
, so that one can pass
variables of different types as keys for the constraint. A list of variables
(of the same type) is still supported.
- Better error messages in