Skip to content

Conversation

augustss
Copy link

@augustss augustss commented Sep 5, 2025

A few type signatures due to MonoLocalBinds.

-----------------------------------------------------------
-- Bracketing
-----------------------------------------------------------
parens, braces, angles, brackets
Copy link
Collaborator

Choose a reason for hiding this comment

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

why these signatures are required, but not any others in the where block?

Copy link
Author

Choose a reason for hiding this comment

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

Because MicroHs has MonoLocalBinds always on, and these need polymorphic types.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Add {-# LANGUAGE MonoLocalBinds #-} to module header, and an explaining comment that we need it to allow GHC to catch problematic for MHS code.

Copy link
Author

Choose a reason for hiding this comment

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

I've added it

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.

2 participants