<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Thanks Ben!</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">There seems to be a regression in ghc / cabal integration in 9.2.1.</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">In 9.2.1 if I do </div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">cabal install vector</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div></div></blockquote><font face="times new roman, serif" size="4"><span class="gmail_default" style="font-family:"times new roman",serif;font-size:large">Compilation of a file containing</span></font><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font size="4"><br></font></div><div><font size="4">import Data.Vector</font></div></blockquote><div><font size="4"><br></font></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font size="4">main = undefined</font></div></blockquote><div><div><font face="times new roman, serif" size="4"><span class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></span></font></div><div><font face="times new roman, serif" size="4"><span class="gmail_default" style="font-family:"times new roman",serif;font-size:large">fails with </span></font></div><div><font face="times new roman, serif" size="4"><br></font></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div> Could not find module ‘Data.Vector’</div></div><div><div>    Perhaps you meant Data.Functor (from base-4.16.0.0)</div></div><div><div>    Use -v (or `:set -v` in ghci) to see a list of the files searched for.</div></div><div><div>  |</div></div><div><div>2 | import Data.Vector</div></div><div><div>  | ^^^^^^^^^^^^^^^^^^</div></div><div><div><div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div></div></div></div></blockquote><div><div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">The preceding works on ghc 9.0.1</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">Should I file a bug against Cabal?</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">Thanks</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">George</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 29, 2021 at 12:54 PM Ben Gamari <<a href="mailto:ben@well-typed.com">ben@well-typed.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
The GHC developers are very happy to at long last announce the<br>
availability of GHC 9.2.1. Binary distributions, source distributions,<br>
and documentation are available at<br>
<br>
    <a href="https://downloads.haskell.org/ghc/9.2.1" rel="noreferrer" target="_blank">https://downloads.haskell.org/ghc/9.2.1</a><br>
<br>
GHC 9.2 brings a number of exciting features including:<br>
<br>
 * A native code generation backend for AArch64, significantly speeding<br>
   compilation time on ARM platforms like the Apple M1.<br>
<br>
 * Many changes in the area of records, including the new<br>
   `RecordDotSyntax` and `NoFieldSelectors` language extensions, as well<br>
   as Support for `DuplicateRecordFields` with `PatternSynonyms`.<br>
<br>
 * Introduction of the new `GHC2021` language extension set, giving<br>
   users convenient access to a larger set of language extensions which<br>
   have been long considered stable.<br>
<br>
 * Merging of `ghc-exactprint` into the GHC tree, providing<br>
   infrastructure for source-to-source program rewriting out-of-the-box.<br>
<br>
 * Introduction of a `BoxedRep` `RuntimeRep`, allowing for polymorphism<br>
   over levity of boxed objects (#17526)<br>
<br>
 * Implementation of the `UnliftedDataTypes` extension, allowing users<br>
   to define types which do not admit lazy evaluation ([proposal])<br>
<br>
 * The new [`-hi` profiling] mechanism which provides significantly<br>
   improved insight into thunk leaks.<br>
<br>
 * Support for the `ghc-debug` out-of-process heap inspection library<br>
   [ghc-debug]<br>
<br>
 * Significant improvements in the bytecode interpreter, allowing more<br>
   programs to be efficently run in GHCi and Template Haskell splices.<br>
<br>
 * Support for profiling of pinned objects with the cost-centre profiler<br>
   (#7275)<br>
<br>
 * Faster compilation and a smaller memory footprint<br>
<br>
 * Introduction of Haddock documentation support in TemplateHaskell (#5467)<br>
<br>
Finally, thank you to Microsoft Research, GitHub, IOHK, the Zw3rk stake<br>
pool, Tweag I/O, Serokell, Equinix, SimSpace, and other anonymous<br>
contributors whose on-going financial and in-kind support has<br>
facilitated GHC maintenance and release management over the years.<br>
Moreover, this release would not have been possible without the hundreds<br>
of open-source contributors whose work comprise this release.<br>
<br>
As always, do open a [ticket] if you see anything amiss.<br>
<br>
Happy testing,<br>
<br>
- Ben<br>
<br>
<br>
[apple-m1]: <a href="https://www.haskell.org/ghc/blog/20210309-apple-m1-story.html" rel="noreferrer" target="_blank">https://www.haskell.org/ghc/blog/20210309-apple-m1-story.html</a><br>
[proposal]: <a href="https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-unlifted-datatypes.rst%5B-hi" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-unlifted-datatypes.rst<br>
[-hi</a> profiling]: <a href="https://well-typed.com/blog/2021/01/first-look-at-hi-profiling-mode/%5Bghc-debug" rel="noreferrer" target="_blank">https://well-typed.com/blog/2021/01/first-look-at-hi-profiling-mode/<br>
[ghc-debug</a>]: <a href="http://ghc.gitlab.haskell.org/ghc-debug/" rel="noreferrer" target="_blank">http://ghc.gitlab.haskell.org/ghc-debug/</a><br>
[ticket]: <a href="https://gitlab.haskell.org/ghc/ghc/-/issues/new" rel="noreferrer" target="_blank">https://gitlab.haskell.org/ghc/ghc/-/issues/new</a><br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div></div></div></div>