A RetroSearch Logo

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

Search Query:

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

Allow referring to unnamed record constructors · Issue #6964 · agda/agda · GitHub

Right now a record

record R : Set where
  field
    x : Nat

has a constructor which is internally named R.constructor but the user can't refer to this directly. (They can still get their hands on this name using reflection, since a record-type definition includes the constructor name). This makes it a bit annoying to construct records using reflection, since you can't quote R.constructor, and it also blocks the use of a few features e.g. #6660 or the upcoming #6721, since you can't refer to this name in pragmas either.


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