Skip to content

Default vs absolute flags in the library file #5456

Closed

Description

@MatthewDaggitt

Version 2.6.2 introduced the ability to set flags in the library files, however as a discussion agda/agda-stdlib#1524 has just raised, we have two use cases for this.

  1. To provide a guarantee that all files use that flag
  2. To cut-down on boilerplate when most files use that flag, and some files override it locally.

I propose we need to split the flags field in agda-lib files into two: absolute-flags (which can't be overridden locally) and default-flags (which can be overridden locally). Thoughts?

Activity

  1. added
    ux: library management
    type: discussion
    on Jun 20, 2021
  2. changed the title [-]Default vs guaranteed flags in the library file[/-] [+]Default vs absolute flags in the library file[/+] on Jun 20, 2021
  3. MatthewDaggitt commented on Jun 20, 2021

    @MatthewDaggitt
    ContributorAuthor

    I should add that flags given via the command line would be treated as absolute flags.

  4. jespercockx commented on Jun 20, 2021

    @jespercockx
    Member

    Related: #5265

  5. nad commented on Jun 21, 2021

    @nad
    Collaborator

    I suggest that we move this discussion to the other ticket.

  6. added
    status: duplicate
    on Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: duplicatetype: discussionux: library management

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions