Skip to content

Commit b6feb45

Browse files
Switch to Agda 2.8.0-rc3 by merging experimental into master (#2755)
* agda/agda#7674 eta-expand fields in record expression Agda PR #7674 requires some implicit arguments explicitly in some record expression given since variance info got refined (invariant to non-variant) and hence solutions are no longer unique. * Workaround for Agda 2.7.0 (and lower, I suppose) * Correct option --warn to --warning for agda/agda#7966 The official name of the option is `--warning` and the prefix `--warn` is only accepted because we have no options like `--warner` or `--warner-brothers-owns-us`, but we might have so in the future. * Update README and CI for v2.8.0-rc3 --------- Co-authored-by: Andreas Abel <andreas.abel@ifi.lmu.de>
1 parent fe7e88e commit b6feb45

File tree

22 files changed

+25
-23
lines changed

22 files changed

+25
-23
lines changed

.github/workflows/ci-ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ jobs:
7676
if [[ '${{ github.ref }}' == 'refs/heads/experimental' \
7777
|| '${{ github.base_ref }}' == 'experimental' ]]; then
7878
# Pick Agda version for experimental
79-
echo "AGDA_COMMIT=18cc53941e924b144c0f1f3953280ef726009f7e" >> "${GITHUB_ENV}";
79+
echo "AGDA_COMMIT=ef912c68fd329ad3046d156e3c1a70a7fec19ba1" >> "${GITHUB_ENV}";
8080
echo "AGDA_HTML_DIR=html/experimental" >> "${GITHUB_ENV}"
8181
else
8282
# Pick Agda version for master
83-
echo "AGDA_COMMIT=tags/v2.7.0.1" >> "${GITHUB_ENV}";
83+
echo "AGDA_COMMIT=tags/v2.8.0-rc3" >> "${GITHUB_ENV}";
8484
echo "AGDA_HTML_DIR=html/master" >> "${GITHUB_ENV}"
8585
fi
8686

CHANGELOG/v1.3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Deprecated modules
226226

227227
* A warning is now raised whenever you import a deprecated module. This should
228228
aid the transition to the new modules. These warnings can be disabled locally
229-
by adding the pragma `{-# OPTIONS --warn=noUserWarning #-}` to the top of a module.
229+
by adding the pragma `{-# OPTIONS --warning=noUserWarning #-}` to the top of a module.
230230

231231
The following modules have been renamed as part of a drive to improve
232232
consistency across the library. The deprecated modules still exist and

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![Ubuntu build](https://github.com/agda/agda-stdlib/actions/workflows/ci-ubuntu.yml/badge.svg?branch=experimental)](https://github.com/agda/agda-stdlib/actions/workflows/ci-ubuntu.yml)
44

5+
**Note**: The library is currently tracking Agda 2.8.0 release candidate 3 in preparation for the release of Agda 2.8.0 and version 2.3 of the library. You will need to have the release candidate installed in order to type-check it.
6+
57
The Agda standard library
68
=========================
79

src/Algebra/Construct/Initial.agda

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ rawMagma = record { ℤero }
7575
-- Structures
7676

7777
isEquivalence : IsEquivalence _≈_
78-
isEquivalence = record { ℤero }
78+
isEquivalence = record { refl = refl; sym = sym; trans = λ {k = k} trans {k = k} }
7979

8080
isMagma : IsMagma _≈_ _∙_
81-
isMagma = record { isEquivalence = isEquivalence ; ∙-cong = ∙-cong }
81+
isMagma = record { isEquivalence = isEquivalence ; ∙-cong = λ {y = y} {u = u} {v = v} ∙-cong {y = y} {v = v} }
8282

8383
isSemigroup : IsSemigroup _≈_ _∙_
8484
isSemigroup = record { isMagma = isMagma ; assoc = λ () }

src/Algebra/Operations/Semiring.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
-- Disabled to prevent warnings from deprecated
1010
-- Algebra.Operations.CommutativeMonoid
11-
{-# OPTIONS --warn=noUserWarning #-}
11+
{-# OPTIONS --warning=noUserWarning #-}
1212

1313
open import Algebra
1414
import Algebra.Operations.CommutativeMonoid as MonoidOperations

src/Algebra/Properties/BooleanAlgebra.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{-# OPTIONS --cubical-compatible --safe #-}
88

99
-- Disabled to prevent warnings from deprecated names
10-
{-# OPTIONS --warn=noUserWarning #-}
10+
{-# OPTIONS --warning=noUserWarning #-}
1111

1212
open import Algebra.Lattice.Bundles
1313

src/Algebra/Properties/DistributiveLattice.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{-# OPTIONS --cubical-compatible --safe #-}
88

99
-- Disabled to prevent warnings from deprecated names
10-
{-# OPTIONS --warn=noUserWarning #-}
10+
{-# OPTIONS --warning=noUserWarning #-}
1111

1212
open import Algebra.Lattice.Bundles
1313
open import Algebra.Lattice.Structures.Biased

src/Data/Fin/Induction.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
------------------------------------------------------------------------
66

77
{-# OPTIONS --cubical-compatible --safe #-}
8-
{-# OPTIONS --warn=noUserWarning #-} -- for deprecated _≺_ (issue #1726)
8+
{-# OPTIONS --warning=noUserWarning #-} -- for deprecated _≺_ (issue #1726)
99

1010
module Data.Fin.Induction where
1111

src/Data/Fin/Properties.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
------------------------------------------------------------------------
77

88
{-# OPTIONS --cubical-compatible --safe #-}
9-
{-# OPTIONS --warn=noUserWarning #-} -- for deprecated _≺_ and _≻toℕ_ (issue #1726)
9+
{-# OPTIONS --warning=noUserWarning #-} -- for deprecated _≺_ and _≻toℕ_ (issue #1726)
1010

1111
module Data.Fin.Properties where
1212

src/Data/List.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
-- lists.
99

1010
{-# OPTIONS --cubical-compatible --safe #-}
11-
{-# OPTIONS --warn=noUserWarning #-} -- for deprecated scans
11+
{-# OPTIONS --warning=noUserWarning #-} -- for deprecated scans
1212

1313
module Data.List where
1414

0 commit comments

Comments
 (0)