question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

We didn't handle absurd clauses without absurd patterns

See original GitHub issue
data False
open data Truth | rua
def f Truth : False
| rua
def inconsistency : False => f rua

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ice1000commented, Dec 10, 2022

Is there an pass after this to check again if None expr is actually not type-checked?

I think you can even do that before type checking. You may also add a boolean variable for the presence of absurd patterns and report error if the boolean is false and the body is None.

0reactions
ice1000commented, Dec 10, 2022

Seems that match expressions do not have coverage checks. /cc @wsx-ucb

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wrong de Bruijn index introduced by absurd pattern · Issue #2583 ...
I introduced an error in a test case (https://github.com/agda/agda/blob/master/test/LibSucceed/Issue784/Values.agda) in my patch d34cfe1, for which I'm very ...
Read more >
Function Definitions — Agda 2.6.0.1 documentation
Absurd patterns can be used when none of the constructors for a particular argument would be valid. The syntax for an absurd pattern...
Read more >
10 Basic Clause Patterns
In this chapter, we put these pieces together into the basic grammatical structure of language—the clause. Clauses are basic for several reasons. First,...
Read more >
The 'Absurd' Actor in the Theatre of Samuel Beckett - JStor
The dislocation man experiences between his expectations of the world surrounding him and the reality he encounters is a convenient point of departure....
Read more >
ABSURDITY AND THE LIMITS OF LITERALISM: DEFINING ...
[I] t is a venerable principle that a law will not be interpreted to produce absurd results. "The common sense of man approves...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found