Andreas Abel

Results 585 issues of Andreas Abel

Clauses do not reduce up to eta during termination checking. This is distilled from a real world example by @jonashoefer: ```agda postulate A : Set B : A → Set...

termination
eta
copatterns

- **Replace SafeFlagPragma with early check for unsafe options**

ux: options
safe
ux: warnings

From: https://github.com/agda/agda/issues/7467#issuecomment-2326548333 ```agda data ⊥ : Set where record R : Set where eta-equality; inductive field f : R f : R → ⊥ f () -- Agda loops here...

eta
unguarded record types
Agda loops

This is a reopening of PR #5267 - #5267 This PR was removed from 2.7.0 since some design questions are still open. The PR made e.g. `--type-in-type` infective so that...

ux: options
type: discussion

Fixes #7477. - #7477 From: https://github.com/agda/agda/issues/7467#issuecomment-2327177373 > should overwrite the user directive, mark it as dead code, cast an [error] warning and point the user toward the ETA pragma. This...

eta
records
language change
unguarded record types

Lifted from #7442. The lack of eta for the following record `R` makes it fail the emptiness check. ```agda data ⊥ : Set where record R : Set where no-eta-equality;...

records
absurd clauses
type: discussion

Idiom brackets were added to Agda in 2016. Personally, I think they are a questionable feature (I will explain below why I think so) and I think we should reevaluate...

type: discussion
idiom brackets

In the situation `agda -c M.agda`, when `M.agda` can be just deserialized, any `{-# OPTIONS -v ... #-}` in this files are ignored.

ux: options
debug

The record-expression-to-copatterns translation currently does not kick in for records with irrelevant fields: https://github.com/agda/agda/blob/d854cc9aebe80012c00ec75fa68ccad63efa57b4/src/full/Agda/TypeChecking/RecordPatterns.hs#L301 Do we need this restriction? Note that Agda happily accepts a definition by copatterns with irrelevant...

irrelevance
irrelevant-projections
modalities
record-expression-to-copatterns

@anuyts writes (lifted from https://github.com/agda/agda/issues/6703#issuecomment-1607103761): Without `--experimental-irrelevance`, further fields' types cannot really depend on an irrelevant field's value (they have to use it irrelevantly AND their type is of course...

projections
modalities
experimental-irrelevance