Skip to content

Conversation

@quinn-dougherty
Copy link

with a very liberal "just append stuff till the executable stops complaining" approach toward making an edits file, I've almost gotten an examples/bytestring together.

I used a git submodule add to get the bytestring source in here.

Current bottleneck: "GHC.Prim.Notations is not a module" https://github.com/quinn-dougherty/hs-to-coq/blob/a69ccb3c1f23db22ac0ce6a99b9317ddfc097280/examples/bytestring/lib/Data/ByteString/Internal.v#L20 -- It doesn't appear to me that hs-to-coq is generating Notation modules in base, so I'm not sure what's going on. I get this error both when I stack exec hs-to-coq -- (in the standard common.mk) and when I run nixified result/bin/hs-to-coq.

the hs-to-coq execution seems to be going great! it's just outputting stuff that can't be coqc'd, or isn't successfully coqc'd according to the Makefile (which I wrote based on examples/containers/Makefile).

I super appreciate it if anyone has time to show me what I'm doing wrong. Also, totally open minded if you think it's not worth having this in examples dir.

endif

SHELL = bash
HS_TO_COQ = //home/quinn/Dropbox/Projects/haskell/hstocoq-bytestring/hs-to-coq/result/bin/hs-to-coq
Copy link
Author

Choose a reason for hiding this comment

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

i'll back this out don't worry, was just testing something.

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