Make Coq Ident
type into a newtype
#1253
Labels
subsystem: saw-core-coq
Issues related to converting saw-core to Gallina for use with the Coq/Rocq theorem prover
tech debt
Issues that document or involve technical debt
type: enhancement
Issues describing an improvement to an existing feature or capability
Milestone
Making the Coq
Ident
type into a type that is distinct fromString
would help to avoid the kind of bugs that aba230b68bf06700e845d00f452e5c7230342483 is trying to fix, where in the translator code we simply forgot to translate some of the bound names. (See comments on GaloisInc/saw-core-coq#29.)Another advantage of having an abstract type is that we could freely change its representation later (e.g. to
Text
). It would also make the code arguably easier to understand and to maintain.The text was updated successfully, but these errors were encountered: