diff options
| author | Jason Gross | 2020-05-06 11:54:55 -0400 |
|---|---|---|
| committer | Jason Gross | 2020-05-06 12:18:30 -0400 |
| commit | ffe7c11df6b6aac676498b09c63fc03db650ea8b (patch) | |
| tree | 2e92cd6e0103a8e59209c27a81ae6a2d307fa9df /doc | |
| parent | bc79d319d38f766a6b7bbeb1f1071b046642089b (diff) | |
HaskellExtr: Add type annotations to Prelude.==
Also `Export ExtrHaskellBasic` in `ExtrHaskellString`.
Fixes #12257
Fixes #12258
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/changelog/10-standard-library/12263-fix-haskell-extraction.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/changelog/10-standard-library/12263-fix-haskell-extraction.rst b/doc/changelog/10-standard-library/12263-fix-haskell-extraction.rst new file mode 100644 index 0000000000..c80a070181 --- /dev/null +++ b/doc/changelog/10-standard-library/12263-fix-haskell-extraction.rst @@ -0,0 +1,9 @@ +- **Fixed:** + In Haskell extraction with ``ExtrHaskellString``, equality comparisons on + strings and characters are now guaranteed to be uniquely well-typed, even in + very polymorphic contexts under ``unsafeCoerce``; this is achieved by adding + type annotations to the extracted code, and by making ``ExtrHaskellString`` + export ``ExtrHaskellBasic`` (`#12263 + <https://github.com/coq/coq/pull/12263>`_, fixes `#12257 + <https://github.com/coq/coq/issues/12257>`_ and `#12258 + <https://github.com/coq/coq/issues/12258>`_, by Jason Gross). |
