Skip to content

Commit

Permalink
chore: bump agda (#368)
Browse files Browse the repository at this point in the history
Selfishly bumping to include agda/agda#7109. Go forth and instance
search
  • Loading branch information
plt-amy committed Mar 9, 2024
1 parent d698f21 commit 37ee089
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/1Lab/Counterexamples/Russell.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ description: |
---
<!--
```agda
{-# OPTIONS --type-in-type #-}
open import 1Lab.Path
open import 1Lab.Type
```
Expand All @@ -20,12 +19,14 @@ module 1Lab.Counterexamples.Russell where
This page reproduces [Russell's paradox] from naïve set theory using an
inductive type of `Type`{.Agda}-indexed trees. By default, Agda places
the type `Type₀` in `Type₁`, meaning the definition of `V`{.Agda} below
would not be accepted. The `--type-in-type` flag disables this check,
meaning the definition goes through.
would not be accepted. Since we're defining a data type, Agda allows us
to attach the `NO_UNIVERSE_CHECK` pragma, which disables this checking
*for the definition of `V`*.

[Russell's paradox]: https://en.wikipedia.org/wiki/Russell%27s_paradox

```agda
{-# NO_UNIVERSE_CHECK #-}
data V : Type where
set : (A : Type) (A V) V
```
Expand Down
4 changes: 2 additions & 2 deletions support/nix/dep/Agda/github.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"repo": "agda",
"branch": "master",
"private": false,
"rev": "a445e3b555bd978200f7d7ca93e9ba445ed639c0",
"sha256": "1j50qcvjpzy5fpms3msfymfmaacc2fyaljqx7liy0vp23hbaq2a7"
"rev": "aa5d8bbe723ea095d2af92ccaa2cfd2fbd89570a",
"sha256": "1czn8l2zn213nipzbmksakjsqxza07npcz5r5rlk41k61hvxc10n"
}

0 comments on commit 37ee089

Please sign in to comment.