A RetroSearch Logo

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

Search Query:

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

Strange interaction between `opaque` and extended lambdas · Issue #7856 · agda/agda · GitHub

I've found the following weird situation using functions with extended lambdas when defined inside opaque:

opaque
  f : All (λ{ x  x ≡ 1 }) [ 1 ]
  f = {!!}

fails : All (λ{ x  x ≡ 1 }) [ 1 ]
fails = f
{-- Error message:

.extendedlambda2 x !=< x ≡ 1 of type Type
when checking that the expression f₁ has type
All (λ { x → x ≡ 1 }) [ 1 ]

--}

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