Skip to content

Fixes to haddocks#2396

Merged
Gabriella439 merged 1 commit intomasterfrom
gabriella/fix_haddocks
Mar 8, 2022
Merged

Fixes to haddocks#2396
Gabriella439 merged 1 commit intomasterfrom
gabriella/fix_haddocks

Conversation

@Gabriella439
Copy link
Collaborator

The main change is to remove the stringly-typed example for
substitutions, not only because I don't want to encourage that
pattern, but also because it contains a confusing use of the
maximum function where it's being used as a partial
fromSuccess :: Expector a -> a function by abusing the
Foldable instance for Validation

The main change is to remove the stringly-typed example for
substitutions, not only because I don't want to encourage that
pattern, but also because it contains a confusing use of the
`maximum` function where it's being used as a partial
`fromSuccess :: Expector a -> a` function by abusing the
`Foldable` instance for `Validation`
@Gabriella439 Gabriella439 merged commit 28f4280 into master Mar 8, 2022
@Gabriella439 Gabriella439 deleted the gabriella/fix_haddocks branch March 8, 2022 05:55
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