Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Skip pattern synonyms + Warn about skipped definitions #168

Merged
merged 4 commits into from
Oct 18, 2020
Merged

Skip pattern synonyms + Warn about skipped definitions #168

merged 4 commits into from
Oct 18, 2020

Conversation

Lysxia
Copy link
Contributor

@Lysxia Lysxia commented Oct 18, 2020

Related to #164. One day there should be some way of actually translating them, but just skipping them can already be helpful to handle some existing modules such as Data.Sequence.Internal in containers.

I also added some warnings because I got confused about whether I was doing something wrong when something wasn't getting translated, for example:

x, y :: ()
(x, y) = ((), ())

@lastland
Copy link
Collaborator

Looks like the CI is not happy because you added those warnings, and now the generated .v files do not match with those in the convenience copy. Can you try updating those and push them again?

| f, cons x xs => foldl' f x xs
| _, nil => errorEmptyList (GHC.Base.hs_string__ "foldl1'")
end.

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'm not sure why this order changed...

Copy link
Collaborator

Choose a reason for hiding this comment

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

Odd, but this should be fine...

@lastland lastland merged commit 3050304 into antalsz:master Oct 18, 2020
@Lysxia Lysxia deleted the skipped-definitions branch October 20, 2020 04:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants