A RetroSearch Logo

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

Search Query:

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

Constructor inlining defeated by moving binders · Issue #7903 · agda/agda · GitHub

open import Agda.Builtin.Equality

record Test : Set1 where
  no-eta-equality
  constructor test
  field
    it : Set
{-# INLINE test #-}

open Test

t1 : Set  Test
t1 x = test x

t2 : Set  Test
t2 = λ x  test x

-- _ : t1 ≡ test
-- _ = refl
-- fails because test got inlined

_ : t2 ≡ test
_ = refl -- succeeds?!

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