Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.2.1.3 for ghc 9.8.1 #72

Merged
merged 3 commits into from
Oct 14, 2023
Merged

Release v0.2.1.3 for ghc 9.8.1 #72

merged 3 commits into from
Oct 14, 2023

Conversation

andreasabel
Copy link
Member

@andreasabel andreasabel commented Oct 14, 2023

  • Pacify x-partial warning of GHC 9.8.1
  • Bump Haskell CI to GHC 9.8.1

Candidate at: https://hackage.haskell.org/package/HsYAML-0.2.1.3/candidate

@andreasabel andreasabel changed the title ghc 9.8.1 Release v0.2.1.3 for ghc 9.8.1 Oct 14, 2023
goDirs _ xs@(Y.Token { Y.tCode = Y.BeginDocument } : _) =
err xs
goDirs m xs@(tok : _) =
Right (getEvPos (DocumentStart NoDirEndMarker) tok) : go1 m xs
Copy link
Member Author

Choose a reason for hiding this comment

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

This avoids head.

goDirs m xs@(tok : _) =
Right (getEvPos (DocumentStart NoDirEndMarker) tok) : go1 m xs
goDirs _ xs =
err xs
Copy link
Member Author

Choose a reason for hiding this comment

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

This catch-all completes the pattern matching.

goDirs m (Y.Token { Y.tCode = Y.BeginDirective } : rest) =
goDir1 m rest
goDirs m toks0@(Y.Token { Y.tCode = Y.BeginComment} : _) =
goComment toks0 (goDirs m)
Copy link
Member Author

Choose a reason for hiding this comment

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

Just whitespace changes.

@andreasabel andreasabel merged commit 703eb0f into master Oct 14, 2023
12 checks passed
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.

1 participant