Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Iris Iris
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 171
    • Issues 171
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Iris
  • IrisIris
  • Merge requests
  • !453

Remove `Open Scope Z_scope` in HeapLang

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Robbert Krebbers requested to merge robbert/open_scope_Z into master May 27, 2020
  • Overview 10
  • Commits 2
  • Pipelines 0
  • Changes 14

I think the Open Scope Z_scope in heap_lang.lang is a mistake. While Zs are often useful when working with HeapLang, I don't think HeapLang should enforce that on users. Furthermore, whether one actually gets an opened Z_scope or not seems to depend on the import order (see this discussion on Mattermost).

In this MR I thus remove Open Scope Z_scope. According to grep, after this MR, there are no other scopes that are opened globally (apart from general_if_scope in algebra.base which is to patch up ssreflect).

As a consequence of this change, some %Z had to be inserted, while it also allowed for some %nats to be removed.

Edited May 27, 2020 by Robbert Krebbers
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: robbert/open_scope_Z