Skip to content

Conversation

@brianhuffman
Copy link
Contributor

The old type ExtCns (along with its weird Eq instance) is now removed in favor of VarName or (VarName, Term).

Fixes #2332.

Functions scFreshEC, scAbstractExts, and scGeneralizeExts
are now gone.

asJavaExpr :: Term -> Maybe String
asJavaExpr (asVariable -> Just ec) = Just (Text.unpack (ecShortName ec)) -- TODO?
asJavaExpr (asVariable -> Just (x, _)) = Just (Text.unpack (vnName x)) -- TODO?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would love to know what this "TODO?" is supposed to refer to :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea; I don't suppose anyone else does either. I'll just remove it.

@brianhuffman brianhuffman merged commit 4e27155 into master Oct 22, 2025
1 check passed
@brianhuffman brianhuffman deleted the bh/remove-extcns branch October 22, 2025 13:14
brianhuffman added a commit that referenced this pull request Oct 26, 2025
The "Ext" suffix formerly referred to type "ExtCns" which has been
removed (#2732).
brianhuffman added a commit that referenced this pull request Oct 27, 2025
The "Ext" suffix formerly referred to type "ExtCns" which has been
removed (#2732).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename ExtCns type

3 participants