A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/agda/agda/issues/2018 below:

Shadowing parameters are sometimes renamed · Issue #2018 · agda/agda · GitHub

Agda rejects the following code:

module _ {A : Set} where

record R {A : Set} : Set where

postulate
  B : Set
  r : R {A = B}

Error message:

Function does not accept argument {A = _}
when checking that {A = B} is a valid argument to a function of
type {A₁ : Set} → Set

I don't think that Agda should change the type of R in this way.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4