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

update outdated doc comment #2014

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions src/SAWScript/Prover/Exporter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -483,19 +483,18 @@ writeCoqProp name notations skips path t =
tm <- io (propToTerm sc t)
writeCoqTerm name notations skips path tm

-- | Write out a representation of a Cryptol module in Gallina syntax for Coq,
-- using the monadified version of the given module iff the first argument is
-- 'True'. The first argument is the file containing the module to export. The
-- second argument is the name of the file to output into, use an empty string
-- to output to standard output. The third argument is a list of pairs of
-- notation substitutions: the operator on the left will be replaced with the
-- identifier on the right, as we do not support notations on the Coq side.
-- The fourth argument is a list of identifiers to skip translating.
-- | Write out a representation of a Cryptol module in Gallina syntax for Coq.
writeCoqCryptolModule ::
-- | Translate the "monadified" version of the module when 'True'
Bool ->
-- | Path to module to export
FilePath ->
-- | Path for output Coq file
FilePath ->
-- | Pairs of notation substitutions: operator on the left will be replaced
-- with the identifier on the right
[(String, String)] ->
-- | List of identifiers to skip during translation
[String] ->
TopLevel ()
writeCoqCryptolModule mon inputFile outputFile notations skips = io $ do
Expand Down
Loading