Agda 2.6.2.1 catches up to changes in the Haskell ecosystem
(GHC 9.2.1, aeson-2.0
, hashable-1.4.
).
Fixes some regressions introduced in 2.6.1: #5283 #5506 #5610
Fixes some regressions introduced in 2.6.2: #5508 #5544 #5565 #5584 #5620 #5638 #5657
Improvements to the compiler backends (see below).
Feature preview: --ghc-strict
.
Agda 2.6.2.1 is expected to build with GHC versions 8.0 to 9.2. It has been tested with the latest minor version releases of GHC for each of these major versions:
Agda 2.6.2.1 has been adapted to recent changes in the Haskell ecosystem, including:
Cabal-3.6.2
aeson-2.0
:
Issue #5593,
stackage issue #6217.hashable-1.4
:
Stackage issue #6268.transformers-0.6
Both the GHC and JS backends now refuse to compile code that uses
--cubical
.
The new option --ghc-strict-data
, which is inspired by the GHC
language extension StrictData
, makes the GHC backend compile
inductive data and record constructors to constructors with strict
arguments.
This does not apply to certain builtin types—lists, the maybe type,
and some types related to reflection—and might not apply to types
with COMPILE GHC … = data …
pragmas.
This feature is experimental.
--ghc-strict
, which is inspired by the GHC language
extension Strict
, makes the GHC backend generate mostly strict
code.Functions might not be strict in unused arguments.
Function definitions coming from COMPILE GHC
pragmas are not
affected.
This flag implies --ghc-strict-data
, and the exceptions of that
flag applies to this flag as well.
Note that this option requires the use of GHC 9 or later.
This feature is experimental.
BigInt
instead of the
biginteger.js.
Fixes #4878.Files agda.sty
and postprocess-latex.pl
are now found in the latex/
subdirectory of the Agda data directory (agda --print-agda-dir
).
agda.sty
is now versioned (printed to the .log
file by latex
)
(see #5473).
Italics correction (inserted by \textit
e.g. in \AgdaBound
) now works,
thanks to moving the \textcolor
wrapping to the outside in agda.sty
(see #5471).
For 2.6.2.1, the following issues were closed (see bug tracker):
match
doesn't work for non-prefix-free casescatchfilebetweentags
method of building latex files with AgdaonlyReduceDefs
should not prevent evaluation of macrosREWRITE
in private
blockCheckpoints
to OpenThing
aeson-2