Skip to content

Conversation

hsyl20
Copy link
Contributor

@hsyl20 hsyl20 commented Jun 6, 2024

No description provided.


data T = T1 | T2 {x :: Bool}

f a = x a
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could adding a type signature f :: T -> Bool be beneficial for readers?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I pushed addition of type signatures to the branch.

@Bodigrim Bodigrim merged commit 8821db3 into haskellfoundation:main Mar 12, 2025
2 checks passed
@Bodigrim
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants