From ben at well-typed.com Fri Mar 3 21:57:11 2023 From: ben at well-typed.com (Ben Gamari) Date: Fri, 03 Mar 2023 16:57:11 -0500 Subject: [ANNOUNCE] GHC 9.6.1-rc1 is now available Message-ID: <87a60tqz1h.fsf@smart-cactus.org> The GHC team is very pleased to announce the availability of the first (and likely final) release candidate of GHC 9.6.1. As usual, binaries and source distributions are available at [downloads.haskell.org](https://downloads.haskell.org/ghc/9.6.1-rc1/). Beginning with GHC 9.6.1, GHC can be built as a cross-compiler to WebAssembly and JavaScript. This is an important step towards robust support for compiling Haskell to the Web, but there are a few caveats to be aware of in the 9.6 series: - Both the Javascript and WebAssembly backends are still at an early stage of development and are present in this release as a technology preview - Using GHC as a cross-compiler is not as easy as we would like it to be; in particular, there are challenges related to Template Haskell - GHC is not yet run-time retargetable; a given GHC binary targets exactly one platform, and both WebAssembly and JavaScript are considered platforms for this purpose. Cross-compilers must be built from source by their users We hope to lift all of these limitations in future releases. Additionally, 9.6.1 will include: - Significant latency improvements in the non-moving garbage collector - Efficient runtime support for delimited continuations - Improvements in compiler error messages - Numerous improvements in the compiler's memory usage See the [release notes][] for a comprehensive accounting of changes in this release. As always, one can find a migration guide to aid in transitioning from older releases on the [GHC Wiki][migration-guide]. We have also recently started extending our release process to cover a wider set of Linux distributions. In particular, we now offer Rocky 8 and Ubuntu 20.04 binary distributions which cover RedHat-derivative and distributions using older `glibc` releases (namely 2.27), respectively. Please do give this release a try and open a [ticket][] if you see anything amiss. If all goes well we expect the final release should be available by late next week. Happy Haskelling, ~ Ben [ticket]: https://gitlab.haskell.org/ghc/ghc/issues/ [migration-guide]: https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.6 [release notes]: https://downloads.haskell.org/ghc/9.6.1-rc1/docs/users_guide/9.6.1-notes.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 905 bytes Desc: not available URL: From ben at well-typed.com Sun Mar 12 02:14:12 2023 From: ben at well-typed.com (Ben Gamari) Date: Sat, 11 Mar 2023 21:14:12 -0500 Subject: [ANNOUNCE] GHC 9.6.1 is now available Message-ID: <87edpupvhh.fsf@smart-cactus.org> The GHC team is very pleased to announce the availability of GHC 9.6.1. As usual, binaries and source distributions are available at downloads.haskell.org: https://downloads.haskell.org/ghc/9.6.1/ Beginning with GHC 9.6.1, GHC can be built as a cross-compiler to WebAssembly and JavaScript. This is an important step towards robust support for compiling Haskell to the Web, but there are a few caveats to be aware of in the 9.6 series: - Both the Javascript and WebAssembly backends are still at an early stage of development and are present in this release as a technology preview - Using GHC as a cross-compiler is not as easy as we would like it to be; in particular, there are challenges related to Template Haskell - GHC is not yet run-time retargetable; a given GHC binary targets exactly one platform, and both WebAssembly and JavaScript are considered platforms for this purpose. Cross-compilers must be built from source by their users We hope to lift all of these limitations in future releases. Additionally, 9.6.1 includes: - Significant latency improvements in the non-moving garbage collector - Efficient runtime support for delimited continuations - Improvements in compiler error messages - Numerous improvements in the compiler's memory usage See the [release notes] for a comprehensive accounting of changes in this release. As always, one can find a migration guide to aid in transitioning from older releases on the [GHC Wiki][migration-guide]. We have also recently started extending our release process to cover a wider set of Linux distributions. In particular, we now offer Rocky 8 and Ubuntu 20.04 binary distributions which cover RedHat-derivative and distributions using older glibc releases (namely 2.27), respectively. Thanks to everyone who has contributed code, documentation, testing, and tickets to this release process. As this release represents upstream GHC's first step towards supporting web targets, we are very excited to have this release out the door! Cheers, - Ben [ticket]: https://gitlab.haskell.org/ghc/ghc/issues/ [migration-guide]: https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.6 [release notes]: https://downloads.haskell.org/ghc/9.6.1/docs/users_guide/9.6.1-notes.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 905 bytes Desc: not available URL: From anthony.d.clayden at gmail.com Mon Mar 13 06:20:48 2023 From: anthony.d.clayden at gmail.com (Anthony Clayden) Date: Mon, 13 Mar 2023 19:20:48 +1300 Subject: data families/newtype instances allow `DatatypeContext`s ? Message-ID: https://discourse.haskell.org/t/choosing-data-representation-based-on-type/5970/4?u=antc2 A `DatatypeContext` on a `newtype instance` gets the usual warning it's deprecated. But the decl is accepted -- at GHC 8.10. (It doesn't achieve what the O.P. was asking for -- but then I wouldn't expect it to.) Is this behaviour deliberate, or more of an accident? I'm surprised such a modern feature (datatype families) tolerates such an old/deprecated feature. I suppose this means the two features are orthogonal -- which is kinda a Good Thing (wrt some continuing discussions). AntC -------------- next part -------------- An HTML attachment was scrubbed... URL: From rraghu.11502 at gmail.com Tue Mar 14 06:15:29 2023 From: rraghu.11502 at gmail.com (Raghu Ranganathan) Date: Tue, 14 Mar 2023 11:45:29 +0530 Subject: Understanding how warnings on unused functions work Message-ID: <6eb5f3d5-e090-28cd-1c2f-a14d88075a87@gmail.com> This is related to a feature in the futhark compiler , which is a language with a similar module system. I am trying to create a tool to detect unused top-level functions in Futhark, and I have been looking in the ghc codebase to find out how it does so. So far I have found these areas: 1. warning flag 2. WarnUnusedTopBinds The project is a bit too big for my machine to take, so HLS is not helping me with finding where the computation of unused bindings (specifically functions) is done. I would like some help with finding where ghc does this computation, and maybe some help with the naming conventions of the code. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From george.colpitts at gmail.com Wed Mar 15 16:03:36 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Wed, 15 Mar 2023 13:03:36 -0300 Subject: Installing GHC on my MacBook Air In-Reply-To: References: Message-ID: Hi Bill I'm cc'ing GHC dev and GHC users as someone else may have a better answer, catch a mistake I made etc. Please don't delete them. I believe you have encountered https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 I believe the way to fix this is to do the following: rm -fr /usr/local/bin/ghc* rm -fr /usr/local/lib/ghc* ./configure sudo xattr -rc . sudo make install However I am unsure why you are encountering this as the issue is supposed to have been fixed. Cheers George On Wed, Mar 15, 2023 at 11:21 AM William McEnaney < bill.mcenaney.jr at gmail.com> wrote: > Hi, George, > > I got this message when I ran make install with the sudo command. What > should I do? > > *libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple > cannot check it for malicious software.* > > > What should I do now? > > > Thanks. > > > Bill > > > > > On Wed, Mar 15, 2023 at 9:29 AM William McEnaney < > bill.mcenaney.jr at gmail.com> wrote: > >> Hi George, >> >> Thank you for your reply. I forget what I did to install it. But the >> compiler and other ghc-related programs live in /usr/local/bin. Since I >> installed the wrong binaries, I changed the directory to /usr/local/bin and >> tried to empty that directory with *rm -rf ghc*.**, but that didn't >> delete anything. So I wonder whether I'll need to remove those programs >> before reinstalling ghc. >> >> Thanks for your help, too. >> >> Best, >> Bill >> >> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts < >> george.colpitts at gmail.com> wrote: >> >>> Hi Bill >>> >>> Yes,GHC will run on your new MacBook Air. The cpu in that is Apple >>> Silicon , the aarch64-apple-darwin platform. Older Macs run on Intel chips, >>> the x86_64-apple-darwin platform. >>> >>> I'm not sure how you installed the compiler. I believe the standard way >>> is described on https://www.haskell.org/ghcup/. Can you tell us how you >>> installed it? >>> >>> Thanks >>> George >>> >>> On Wed, Mar 15, 2023 at 8:22 AM Simon Peyton Jones < >>> simon.peytonjones at gmail.com> wrote: >>> >>>> Redirecting this query to ghc-devs. Can anyone help William? Thanks! >>>> >>>> Will GHC run on my new MacBook Air? After installing the compiler, my >>>>> laptop said its processor was wrong for the binary distribution I chose. If >>>>> there is a dmg file for MacOS 12.5.1, please please link your reply to it. >>>>> >>>> >>>> Simon >>>> >>>> On Tue, 14 Mar 2023 at 23:33, William McEnaney < >>>> bill.mcenaney.jr at gmail.com> wrote: >>>> >>>>> Dear Dr. Jones, >>>>> >>>>> Will GHC run on my new MacBook Air? After installing the compiler, my >>>>> laptop said its processor was wrong for the binary distribution I chose. If >>>>> there is a dmg file for MacOS 12.5.1, please please link your reply to it. >>>>> >>>>> Thanks for your help. >>>>> >>>>> Best, >>>>> Bill >>>>> >>>> _______________________________________________ >>>> ghc-devs mailing list >>>> ghc-devs at haskell.org >>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From allbery.b at gmail.com Wed Mar 15 16:10:13 2023 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 15 Mar 2023 12:10:13 -0400 Subject: Installing GHC on my MacBook Air In-Reply-To: References: Message-ID: That seems unlikely; it would report a permission error in that case, not that it had the wrong architecture. On Wed, Mar 15, 2023 at 12:04 PM George Colpitts wrote: > > Hi Bill > > I'm cc'ing GHC dev and GHC users as someone else may have a better answer, catch a mistake I made etc. Please don't delete them. > > I believe you have encountered https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 > > I believe the way to fix this is to do the following: > > rm -fr /usr/local/bin/ghc* > rm -fr /usr/local/lib/ghc* > ./configure > sudo xattr -rc . > sudo make install > > > However I am unsure why you are encountering this as the issue is supposed to have been fixed. > > Cheers > George > > > > > > On Wed, Mar 15, 2023 at 11:21 AM William McEnaney wrote: >> >> Hi, George, >> >> I got this message when I ran make install with the sudo command. What should I do? >> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple cannot check it for malicious software. >> >> >> What should I do now? >> >> >> Thanks. >> >> >> Bill >> >> >> >> >> On Wed, Mar 15, 2023 at 9:29 AM William McEnaney wrote: >>> >>> Hi George, >>> >>> Thank you for your reply. I forget what I did to install it. But the compiler and other ghc-related programs live in /usr/local/bin. Since I installed the wrong binaries, I changed the directory to /usr/local/bin and tried to empty that directory with rm -rf ghc*.*, but that didn't delete anything. So I wonder whether I'll need to remove those programs before reinstalling ghc. >>> >>> Thanks for your help, too. >>> >>> Best, >>> Bill >>> >>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts wrote: >>>> >>>> Hi Bill >>>> >>>> Yes,GHC will run on your new MacBook Air. The cpu in that is Apple Silicon , the aarch64-apple-darwin platform. Older Macs run on Intel chips, the x86_64-apple-darwin platform. >>>> >>>> I'm not sure how you installed the compiler. I believe the standard way is described on https://www.haskell.org/ghcup/. Can you tell us how you installed it? >>>> >>>> Thanks >>>> George >>>> >>>> On Wed, Mar 15, 2023 at 8:22 AM Simon Peyton Jones wrote: >>>>> >>>>> Redirecting this query to ghc-devs. Can anyone help William? Thanks! >>>>> >>>>>> Will GHC run on my new MacBook Air? After installing the compiler, my laptop said its processor was wrong for the binary distribution I chose. If there is a dmg file for MacOS 12.5.1, please please link your reply to it. >>>>> >>>>> >>>>> Simon >>>>> >>>>> On Tue, 14 Mar 2023 at 23:33, William McEnaney wrote: >>>>>> >>>>>> Dear Dr. Jones, >>>>>> >>>>>> Will GHC run on my new MacBook Air? After installing the compiler, my laptop said its processor was wrong for the binary distribution I chose. If there is a dmg file for MacOS 12.5.1, please please link your reply to it. >>>>>> >>>>>> Thanks for your help. >>>>>> >>>>>> Best, >>>>>> Bill >>>>> >>>>> _______________________________________________ >>>>> ghc-devs mailing list >>>>> ghc-devs at haskell.org >>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs > > _______________________________________________ > ghc-devs mailing list > ghc-devs at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs -- brandon s allbery kf8nh allbery.b at gmail.com From george.colpitts at gmail.com Wed Mar 15 16:22:59 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Wed, 15 Mar 2023 13:22:59 -0300 Subject: Installing GHC on my MacBook Air In-Reply-To: References: Message-ID: cc'ing others On Wed, Mar 15, 2023 at 1:20 PM George Colpitts wrote: > Thanks Brandon. There were some earlier emails that somehow got dropped > from this. > > I believe we have already solved the wrong architecture issue; this is the > next issue. > > Here is the earlier email: > > I just noticed that you said you installed a binary distribution. If for > example you chose the 9.4.4 distribution at > https://www.haskell.org/ghc/download_ghc_9_4_4.html#macosx_x86_64 you > should choose one of: > > > - ghc-9.4.4-aarch64-apple-darwin.tar.xz > (187.0 > MB, sig > > ) > - ghc-9.4.4-aarch64-apple-darwin.tar.bz2 > (300.0 > MB, sig > > ) > > rather than > > > - ghc-9.4.4-x86_64-apple-darwin.tar.xz > (177.9 > MB, sig > > ) > - ghc-9.4.4-x86_64-apple-darwin.tar.bz2 > (281.9 > MB, sig > > ) > > > On Wed, Mar 15, 2023 at 1:10 PM Brandon Allbery > wrote: > >> That seems unlikely; it would report a permission error in that case, >> not that it had the wrong architecture. >> >> On Wed, Mar 15, 2023 at 12:04 PM George Colpitts >> wrote: >> > >> > Hi Bill >> > >> > I'm cc'ing GHC dev and GHC users as someone else may have a better >> answer, catch a mistake I made etc. Please don't delete them. >> > >> > I believe you have encountered >> https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 >> > >> > I believe the way to fix this is to do the following: >> > >> > rm -fr /usr/local/bin/ghc* >> > rm -fr /usr/local/lib/ghc* >> > ./configure >> > sudo xattr -rc . >> > sudo make install >> > >> > >> > However I am unsure why you are encountering this as the issue is >> supposed to have been fixed. >> > >> > Cheers >> > George >> > >> > >> > >> > >> > >> > On Wed, Mar 15, 2023 at 11:21 AM William McEnaney < >> bill.mcenaney.jr at gmail.com> wrote: >> >> >> >> Hi, George, >> >> >> >> I got this message when I ran make install with the sudo command. What >> should I do? >> >> >> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple >> cannot check it for malicious software. >> >> >> >> >> >> What should I do now? >> >> >> >> >> >> Thanks. >> >> >> >> >> >> Bill >> >> >> >> >> >> >> >> >> >> On Wed, Mar 15, 2023 at 9:29 AM William McEnaney < >> bill.mcenaney.jr at gmail.com> wrote: >> >>> >> >>> Hi George, >> >>> >> >>> Thank you for your reply. I forget what I did to install it. But the >> compiler and other ghc-related programs live in /usr/local/bin. Since I >> installed the wrong binaries, I changed the directory to /usr/local/bin and >> tried to empty that directory with rm -rf ghc*.*, but that didn't delete >> anything. So I wonder whether I'll need to remove those programs before >> reinstalling ghc. >> >>> >> >>> Thanks for your help, too. >> >>> >> >>> Best, >> >>> Bill >> >>> >> >>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts < >> george.colpitts at gmail.com> wrote: >> >>>> >> >>>> Hi Bill >> >>>> >> >>>> Yes,GHC will run on your new MacBook Air. The cpu in that is Apple >> Silicon , the aarch64-apple-darwin platform. Older Macs run on Intel chips, >> the x86_64-apple-darwin platform. >> >>>> >> >>>> I'm not sure how you installed the compiler. I believe the standard >> way is described on https://www.haskell.org/ghcup/. Can you tell us how >> you installed it? >> >>>> >> >>>> Thanks >> >>>> George >> >>>> >> >>>> On Wed, Mar 15, 2023 at 8:22 AM Simon Peyton Jones < >> simon.peytonjones at gmail.com> wrote: >> >>>>> >> >>>>> Redirecting this query to ghc-devs. Can anyone help William? >> Thanks! >> >>>>> >> >>>>>> Will GHC run on my new MacBook Air? After installing the compiler, >> my laptop said its processor was wrong for the binary distribution I chose. >> If there is a dmg file for MacOS 12.5.1, please please link your reply to >> it. >> >>>>> >> >>>>> >> >>>>> Simon >> >>>>> >> >>>>> On Tue, 14 Mar 2023 at 23:33, William McEnaney < >> bill.mcenaney.jr at gmail.com> wrote: >> >>>>>> >> >>>>>> Dear Dr. Jones, >> >>>>>> >> >>>>>> Will GHC run on my new MacBook Air? After installing the compiler, >> my laptop said its processor was wrong for the binary distribution I chose. >> If there is a dmg file for MacOS 12.5.1, please please link your reply to >> it. >> >>>>>> >> >>>>>> Thanks for your help. >> >>>>>> >> >>>>>> Best, >> >>>>>> Bill >> >>>>> >> >>>>> _______________________________________________ >> >>>>> ghc-devs mailing list >> >>>>> ghc-devs at haskell.org >> >>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >> > >> > _______________________________________________ >> > ghc-devs mailing list >> > ghc-devs at haskell.org >> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >> >> >> >> -- >> brandon s allbery kf8nh >> allbery.b at gmail.com >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at smart-cactus.org Wed Mar 15 16:25:35 2023 From: ben at smart-cactus.org (Ben Gamari) Date: Wed, 15 Mar 2023 12:25:35 -0400 Subject: Installing GHC on my MacBook Air In-Reply-To: References: Message-ID: <874jqmoud9.fsf@smart-cactus.org> George Colpitts writes: > Hi Bill > > I'm cc'ing GHC dev and GHC users as someone else may have a better answer, > catch a mistake I made etc. Please don't delete them. > > I believe you have encountered > https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 > > I believe the way to fix this is to do the following: > > rm -fr /usr/local/bin/ghc* > rm -fr /usr/local/lib/ghc* > ./configure > sudo xattr -rc . > sudo make install > > > However I am unsure why you are encountering this as the issue is supposed > to have been fixed. > It may be that the reason is either a GHC bug (https://gitlab.haskell.org/ghc/ghc/-/issues/23009) or further changes by Apple (https://gitlab.haskell.org/ghc/ghc/-/issues/23115) Cheers, - Ben -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 905 bytes Desc: not available URL: From george.colpitts at gmail.com Wed Mar 15 16:26:16 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Wed, 15 Mar 2023 13:26:16 -0300 Subject: Installing GHC on my MacBook Air In-Reply-To: References: Message-ID: Bill For your latest problem libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple cannot check it for malicious software. Did you try what I wrote in my last email: rm -fr /usr/local/bin/ghc* rm -fr /usr/local/lib/ghc* ./configure sudo xattr -rc . sudo make install George On Wed, Mar 15, 2023 at 1:20 PM William McEnaney wrote: > Hi, everyone, > > Thank you for the help. Someone will tell me how to solve the problem, I > hope because it stumped me. > > Bill > > On Wed, Mar 15, 2023 at 12:10 PM Brandon Allbery > wrote: > >> That seems unlikely; it would report a permission error in that case, >> not that it had the wrong architecture. >> >> On Wed, Mar 15, 2023 at 12:04 PM George Colpitts >> wrote: >> > >> > Hi Bill >> > >> > I'm cc'ing GHC dev and GHC users as someone else may have a better >> answer, catch a mistake I made etc. Please don't delete them. >> > >> > I believe you have encountered >> https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 >> > >> > I believe the way to fix this is to do the following: >> > >> > rm -fr /usr/local/bin/ghc* >> > rm -fr /usr/local/lib/ghc* >> > ./configure >> > sudo xattr -rc . >> > sudo make install >> > >> > >> > However I am unsure why you are encountering this as the issue is >> supposed to have been fixed. >> > >> > Cheers >> > George >> > >> > >> > >> > >> > >> > On Wed, Mar 15, 2023 at 11:21 AM William McEnaney < >> bill.mcenaney.jr at gmail.com> wrote: >> >> >> >> Hi, George, >> >> >> >> I got this message when I ran make install with the sudo command. What >> should I do? >> >> >> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple >> cannot check it for malicious software. >> >> >> >> >> >> What should I do now? >> >> >> >> >> >> Thanks. >> >> >> >> >> >> Bill >> >> >> >> >> >> >> >> >> >> On Wed, Mar 15, 2023 at 9:29 AM William McEnaney < >> bill.mcenaney.jr at gmail.com> wrote: >> >>> >> >>> Hi George, >> >>> >> >>> Thank you for your reply. I forget what I did to install it. But the >> compiler and other ghc-related programs live in /usr/local/bin. Since I >> installed the wrong binaries, I changed the directory to /usr/local/bin and >> tried to empty that directory with rm -rf ghc*.*, but that didn't delete >> anything. So I wonder whether I'll need to remove those programs before >> reinstalling ghc. >> >>> >> >>> Thanks for your help, too. >> >>> >> >>> Best, >> >>> Bill >> >>> >> >>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts < >> george.colpitts at gmail.com> wrote: >> >>>> >> >>>> Hi Bill >> >>>> >> >>>> Yes,GHC will run on your new MacBook Air. The cpu in that is Apple >> Silicon , the aarch64-apple-darwin platform. Older Macs run on Intel chips, >> the x86_64-apple-darwin platform. >> >>>> >> >>>> I'm not sure how you installed the compiler. I believe the standard >> way is described on https://www.haskell.org/ghcup/. Can you tell us how >> you installed it? >> >>>> >> >>>> Thanks >> >>>> George >> >>>> >> >>>> On Wed, Mar 15, 2023 at 8:22 AM Simon Peyton Jones < >> simon.peytonjones at gmail.com> wrote: >> >>>>> >> >>>>> Redirecting this query to ghc-devs. Can anyone help William? >> Thanks! >> >>>>> >> >>>>>> Will GHC run on my new MacBook Air? After installing the compiler, >> my laptop said its processor was wrong for the binary distribution I chose. >> If there is a dmg file for MacOS 12.5.1, please please link your reply to >> it. >> >>>>> >> >>>>> >> >>>>> Simon >> >>>>> >> >>>>> On Tue, 14 Mar 2023 at 23:33, William McEnaney < >> bill.mcenaney.jr at gmail.com> wrote: >> >>>>>> >> >>>>>> Dear Dr. Jones, >> >>>>>> >> >>>>>> Will GHC run on my new MacBook Air? After installing the compiler, >> my laptop said its processor was wrong for the binary distribution I chose. >> If there is a dmg file for MacOS 12.5.1, please please link your reply to >> it. >> >>>>>> >> >>>>>> Thanks for your help. >> >>>>>> >> >>>>>> Best, >> >>>>>> Bill >> >>>>> >> >>>>> _______________________________________________ >> >>>>> ghc-devs mailing list >> >>>>> ghc-devs at haskell.org >> >>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >> > >> > _______________________________________________ >> > ghc-devs mailing list >> > ghc-devs at haskell.org >> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >> >> >> >> -- >> brandon s allbery kf8nh >> allbery.b at gmail.com >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From george.colpitts at gmail.com Wed Mar 15 16:40:48 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Wed, 15 Mar 2023 13:40:48 -0300 Subject: Installing GHC on my MacBook Air In-Reply-To: References: Message-ID: Hi William I think it's best if you submit a bug as described here Whether in email or in the bug report it is critical that you describe how the reader can reproduce the bug, i.e. starting from the beginning, describe what you did and what error message(s) you got. Regards, George On Wed, Mar 15, 2023 at 1:34 PM William McEnaney wrote: > Hi, George, > > Yes, I did. But I must have made a mistake. After I pasted them into a > Terminal window, the machine warned me that some program wanted to access > my photos when I don't have any. > > > On Wed, Mar 15, 2023 at 12:26 PM George Colpitts < > george.colpitts at gmail.com> wrote: > >> Bill >> >> For your latest problem >> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple >> cannot check it for malicious software. >> >> Did you try what I wrote in my last email: >> >> rm -fr /usr/local/bin/ghc* >> rm -fr /usr/local/lib/ghc* >> ./configure >> sudo xattr -rc . >> sudo make install >> >> George >> >> >> >> >> On Wed, Mar 15, 2023 at 1:20 PM William McEnaney < >> bill.mcenaney.jr at gmail.com> wrote: >> >>> Hi, everyone, >>> >>> Thank you for the help. Someone will tell me how to solve the problem, I >>> hope because it stumped me. >>> >>> Bill >>> >>> On Wed, Mar 15, 2023 at 12:10 PM Brandon Allbery >>> wrote: >>> >>>> That seems unlikely; it would report a permission error in that case, >>>> not that it had the wrong architecture. >>>> >>>> On Wed, Mar 15, 2023 at 12:04 PM George Colpitts >>>> wrote: >>>> > >>>> > Hi Bill >>>> > >>>> > I'm cc'ing GHC dev and GHC users as someone else may have a better >>>> answer, catch a mistake I made etc. Please don't delete them. >>>> > >>>> > I believe you have encountered >>>> https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 >>>> > >>>> > I believe the way to fix this is to do the following: >>>> > >>>> > rm -fr /usr/local/bin/ghc* >>>> > rm -fr /usr/local/lib/ghc* >>>> > ./configure >>>> > sudo xattr -rc . >>>> > sudo make install >>>> > >>>> > >>>> > However I am unsure why you are encountering this as the issue is >>>> supposed to have been fixed. >>>> > >>>> > Cheers >>>> > George >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > On Wed, Mar 15, 2023 at 11:21 AM William McEnaney < >>>> bill.mcenaney.jr at gmail.com> wrote: >>>> >> >>>> >> Hi, George, >>>> >> >>>> >> I got this message when I ran make install with the sudo command. >>>> What should I do? >>>> >> >>>> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple >>>> cannot check it for malicious software. >>>> >> >>>> >> >>>> >> What should I do now? >>>> >> >>>> >> >>>> >> Thanks. >>>> >> >>>> >> >>>> >> Bill >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> On Wed, Mar 15, 2023 at 9:29 AM William McEnaney < >>>> bill.mcenaney.jr at gmail.com> wrote: >>>> >>> >>>> >>> Hi George, >>>> >>> >>>> >>> Thank you for your reply. I forget what I did to install it. But >>>> the compiler and other ghc-related programs live in /usr/local/bin. Since I >>>> installed the wrong binaries, I changed the directory to /usr/local/bin and >>>> tried to empty that directory with rm -rf ghc*.*, but that didn't delete >>>> anything. So I wonder whether I'll need to remove those programs before >>>> reinstalling ghc. >>>> >>> >>>> >>> Thanks for your help, too. >>>> >>> >>>> >>> Best, >>>> >>> Bill >>>> >>> >>>> >>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts < >>>> george.colpitts at gmail.com> wrote: >>>> >>>> >>>> >>>> Hi Bill >>>> >>>> >>>> >>>> Yes,GHC will run on your new MacBook Air. The cpu in that is Apple >>>> Silicon , the aarch64-apple-darwin platform. Older Macs run on Intel chips, >>>> the x86_64-apple-darwin platform. >>>> >>>> >>>> >>>> I'm not sure how you installed the compiler. I believe the >>>> standard way is described on https://www.haskell.org/ghcup/. Can you >>>> tell us how you installed it? >>>> >>>> >>>> >>>> Thanks >>>> >>>> George >>>> >>>> >>>> >>>> On Wed, Mar 15, 2023 at 8:22 AM Simon Peyton Jones < >>>> simon.peytonjones at gmail.com> wrote: >>>> >>>>> >>>> >>>>> Redirecting this query to ghc-devs. Can anyone help William? >>>> Thanks! >>>> >>>>> >>>> >>>>>> Will GHC run on my new MacBook Air? After installing the >>>> compiler, my laptop said its processor was wrong for the binary >>>> distribution I chose. If there is a dmg file for MacOS 12.5.1, please >>>> please link your reply to it. >>>> >>>>> >>>> >>>>> >>>> >>>>> Simon >>>> >>>>> >>>> >>>>> On Tue, 14 Mar 2023 at 23:33, William McEnaney < >>>> bill.mcenaney.jr at gmail.com> wrote: >>>> >>>>>> >>>> >>>>>> Dear Dr. Jones, >>>> >>>>>> >>>> >>>>>> Will GHC run on my new MacBook Air? After installing the >>>> compiler, my laptop said its processor was wrong for the binary >>>> distribution I chose. If there is a dmg file for MacOS 12.5.1, please >>>> please link your reply to it. >>>> >>>>>> >>>> >>>>>> Thanks for your help. >>>> >>>>>> >>>> >>>>>> Best, >>>> >>>>>> Bill >>>> >>>>> >>>> >>>>> _______________________________________________ >>>> >>>>> ghc-devs mailing list >>>> >>>>> ghc-devs at haskell.org >>>> >>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>>> > >>>> > _______________________________________________ >>>> > ghc-devs mailing list >>>> > ghc-devs at haskell.org >>>> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>>> >>>> >>>> >>>> -- >>>> brandon s allbery kf8nh >>>> allbery.b at gmail.com >>>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From george.colpitts at gmail.com Wed Mar 15 17:17:18 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Wed, 15 Mar 2023 14:17:18 -0300 Subject: Installing GHC on my MacBook Air In-Reply-To: References: Message-ID: Hi Bill, It's easy to forget to do replay all in gmail but it's important to do so in these emails. In your original email you wrote: After installing the compiler, my laptop said its processor was wrong for the binary distribution I chose. If there is a dmg file for *MacOS 12.5.1,* please please link your reply to it. Can you confirm that you no longer have the problem "of processor was wrong for the binary distribution I chose." ? My understanding is that after that you got the error: libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple cannot check it for malicious software. I then suggested you had encountered https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 and I suggested you do: rm -fr /usr/local/bin/ghc* rm -fr /usr/local/lib/ghc* ./configure sudo xattr -rc . sudo make install You said you did and got a warning "that some program wanted to access my photos when I don't have any." Can you repeat those steps and cut and paste your terminal session into an email? Unfortunately I am too busy to continue replying but with the above I think somebody will be able to help you. Cheers, George On Wed, Mar 15, 2023 at 1:59 PM William McEnaney wrote: > Hi, George, > > I'd be happy to do that for you. But I'm sure I can recall the information > a GHC maintainer would need. > > Best, > Bill > > On Wed, Mar 15, 2023 at 12:41 PM George Colpitts < > george.colpitts at gmail.com> wrote: > >> Hi William >> >> I think it's best if you submit a bug as described here >> >> >> Whether in email or in the bug report it is critical that you >> describe how the reader can reproduce the bug, i.e. starting from the >> beginning, describe what you did and what error message(s) you got. >> >> Regards, >> George >> >> >> On Wed, Mar 15, 2023 at 1:34 PM William McEnaney < >> bill.mcenaney.jr at gmail.com> wrote: >> >>> Hi, George, >>> >>> Yes, I did. But I must have made a mistake. After I pasted them into a >>> Terminal window, the machine warned me that some program wanted to access >>> my photos when I don't have any. >>> >>> >>> On Wed, Mar 15, 2023 at 12:26 PM George Colpitts < >>> george.colpitts at gmail.com> wrote: >>> >>>> Bill >>>> >>>> For your latest problem >>>> >>>> libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple >>>> cannot check it for malicious software. >>>> >>>> Did you try what I wrote in my last email: >>>> >>>> rm -fr /usr/local/bin/ghc* >>>> rm -fr /usr/local/lib/ghc* >>>> ./configure >>>> sudo xattr -rc . >>>> sudo make install >>>> >>>> George >>>> >>>> >>>> >>>> >>>> On Wed, Mar 15, 2023 at 1:20 PM William McEnaney < >>>> bill.mcenaney.jr at gmail.com> wrote: >>>> >>>>> Hi, everyone, >>>>> >>>>> Thank you for the help. Someone will tell me how to solve the problem, >>>>> I hope because it stumped me. >>>>> >>>>> Bill >>>>> >>>>> On Wed, Mar 15, 2023 at 12:10 PM Brandon Allbery >>>>> wrote: >>>>> >>>>>> That seems unlikely; it would report a permission error in that case, >>>>>> not that it had the wrong architecture. >>>>>> >>>>>> On Wed, Mar 15, 2023 at 12:04 PM George Colpitts >>>>>> wrote: >>>>>> > >>>>>> > Hi Bill >>>>>> > >>>>>> > I'm cc'ing GHC dev and GHC users as someone else may have a better >>>>>> answer, catch a mistake I made etc. Please don't delete them. >>>>>> > >>>>>> > I believe you have encountered >>>>>> https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 >>>>>> > >>>>>> > I believe the way to fix this is to do the following: >>>>>> > >>>>>> > rm -fr /usr/local/bin/ghc* >>>>>> > rm -fr /usr/local/lib/ghc* >>>>>> > ./configure >>>>>> > sudo xattr -rc . >>>>>> > sudo make install >>>>>> > >>>>>> > >>>>>> > However I am unsure why you are encountering this as the issue is >>>>>> supposed to have been fixed. >>>>>> > >>>>>> > Cheers >>>>>> > George >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > On Wed, Mar 15, 2023 at 11:21 AM William McEnaney < >>>>>> bill.mcenaney.jr at gmail.com> wrote: >>>>>> >> >>>>>> >> Hi, George, >>>>>> >> >>>>>> >> I got this message when I ran make install with the sudo command. >>>>>> What should I do? >>>>>> >> >>>>>> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because >>>>>> Apple cannot check it for malicious software. >>>>>> >> >>>>>> >> >>>>>> >> What should I do now? >>>>>> >> >>>>>> >> >>>>>> >> Thanks. >>>>>> >> >>>>>> >> >>>>>> >> Bill >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> >>>>>> >> On Wed, Mar 15, 2023 at 9:29 AM William McEnaney < >>>>>> bill.mcenaney.jr at gmail.com> wrote: >>>>>> >>> >>>>>> >>> Hi George, >>>>>> >>> >>>>>> >>> Thank you for your reply. I forget what I did to install it. But >>>>>> the compiler and other ghc-related programs live in /usr/local/bin. Since I >>>>>> installed the wrong binaries, I changed the directory to /usr/local/bin and >>>>>> tried to empty that directory with rm -rf ghc*.*, but that didn't delete >>>>>> anything. So I wonder whether I'll need to remove those programs before >>>>>> reinstalling ghc. >>>>>> >>> >>>>>> >>> Thanks for your help, too. >>>>>> >>> >>>>>> >>> Best, >>>>>> >>> Bill >>>>>> >>> >>>>>> >>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts < >>>>>> george.colpitts at gmail.com> wrote: >>>>>> >>>> >>>>>> >>>> Hi Bill >>>>>> >>>> >>>>>> >>>> Yes,GHC will run on your new MacBook Air. The cpu in that is >>>>>> Apple Silicon , the aarch64-apple-darwin platform. Older Macs run on Intel >>>>>> chips, the x86_64-apple-darwin platform. >>>>>> >>>> >>>>>> >>>> I'm not sure how you installed the compiler. I believe the >>>>>> standard way is described on https://www.haskell.org/ghcup/. Can you >>>>>> tell us how you installed it? >>>>>> >>>> >>>>>> >>>> Thanks >>>>>> >>>> George >>>>>> >>>> >>>>>> >>>> On Wed, Mar 15, 2023 at 8:22 AM Simon Peyton Jones < >>>>>> simon.peytonjones at gmail.com> wrote: >>>>>> >>>>> >>>>>> >>>>> Redirecting this query to ghc-devs. Can anyone help William? >>>>>> Thanks! >>>>>> >>>>> >>>>>> >>>>>> Will GHC run on my new MacBook Air? After installing the >>>>>> compiler, my laptop said its processor was wrong for the binary >>>>>> distribution I chose. If there is a dmg file for MacOS 12.5.1, please >>>>>> please link your reply to it. >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> Simon >>>>>> >>>>> >>>>>> >>>>> On Tue, 14 Mar 2023 at 23:33, William McEnaney < >>>>>> bill.mcenaney.jr at gmail.com> wrote: >>>>>> >>>>>> >>>>>> >>>>>> Dear Dr. Jones, >>>>>> >>>>>> >>>>>> >>>>>> Will GHC run on my new MacBook Air? After installing the >>>>>> compiler, my laptop said its processor was wrong for the binary >>>>>> distribution I chose. If there is a dmg file for MacOS 12.5.1, please >>>>>> please link your reply to it. >>>>>> >>>>>> >>>>>> >>>>>> Thanks for your help. >>>>>> >>>>>> >>>>>> >>>>>> Best, >>>>>> >>>>>> Bill >>>>>> >>>>> >>>>>> >>>>> _______________________________________________ >>>>>> >>>>> ghc-devs mailing list >>>>>> >>>>> ghc-devs at haskell.org >>>>>> >>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>>>>> > >>>>>> > _______________________________________________ >>>>>> > ghc-devs mailing list >>>>>> > ghc-devs at haskell.org >>>>>> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> brandon s allbery kf8nh >>>>>> allbery.b at gmail.com >>>>>> >>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From george.colpitts at gmail.com Wed Mar 15 18:14:07 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Wed, 15 Mar 2023 15:14:07 -0300 Subject: Installing GHC on my MacBook Air In-Reply-To: References: Message-ID: Somehow I missed that it is now working for you. Great! Definitely no need to report a bug. Haskell is a great language. Enjoy! Cheers George On Wed, Mar 15, 2023 at 3:07 PM William McEnaney wrote: > Hi, George, > > Now that the compiler runs, maybe I don't need to report a bug. > ... > Thanks for everything. > > Bill > > On Wed, Mar 15, 2023 at 1:17 PM George Colpitts > wrote: > >> Hi Bill, >> >> It's easy to forget to do replay all in gmail but it's important to do so >> in these emails. >> >> In your original email you wrote: >> >> After installing the compiler, my laptop said its processor was wrong for >> the binary distribution I chose. If there is a dmg file for *MacOS >> 12.5.1,* please please link your reply to it. >> >> >> Can you confirm that you no longer have the problem "of processor was >> wrong for the binary distribution I chose." ? >> >> My understanding is that after that you got the error: >> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple >> cannot check it for malicious software. >> >> I then suggested you had encountered >> https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 and I >> suggested you do: >> >> rm -fr /usr/local/bin/ghc* >> rm -fr /usr/local/lib/ghc* >> ./configure >> sudo xattr -rc . >> sudo make install >> >> >> You said you did and got a warning "that some program wanted to access my >> photos when I don't have any." >> >> Can you repeat those steps and cut and paste your terminal session into >> an email? >> >> Unfortunately I am too busy to continue replying but with the above I >> think somebody will be able to help you. >> >> Cheers, >> George >> >> >> On Wed, Mar 15, 2023 at 1:59 PM William McEnaney < >> bill.mcenaney.jr at gmail.com> wrote: >> >>> Hi, George, >>> >>> I'd be happy to do that for you. But I'm sure I can recall the >>> information a GHC maintainer would need. >>> >>> Best, >>> Bill >>> >>> On Wed, Mar 15, 2023 at 12:41 PM George Colpitts < >>> george.colpitts at gmail.com> wrote: >>> >>>> Hi William >>>> >>>> I think it's best if you submit a bug as described here >>>> >>>> >>>> Whether in email or in the bug report it is critical that you >>>> describe how the reader can reproduce the bug, i.e. starting from the >>>> beginning, describe what you did and what error message(s) you got. >>>> >>>> Regards, >>>> George >>>> >>>> >>>> On Wed, Mar 15, 2023 at 1:34 PM William McEnaney < >>>> bill.mcenaney.jr at gmail.com> wrote: >>>> >>>>> Hi, George, >>>>> >>>>> Yes, I did. But I must have made a mistake. After I pasted them into a >>>>> Terminal window, the machine warned me that some program wanted to access >>>>> my photos when I don't have any. >>>>> >>>>> >>>>> On Wed, Mar 15, 2023 at 12:26 PM George Colpitts < >>>>> george.colpitts at gmail.com> wrote: >>>>> >>>>>> Bill >>>>>> >>>>>> For your latest problem >>>>>> >>>>>> libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because Apple >>>>>> cannot check it for malicious software. >>>>>> >>>>>> Did you try what I wrote in my last email: >>>>>> >>>>>> rm -fr /usr/local/bin/ghc* >>>>>> rm -fr /usr/local/lib/ghc* >>>>>> ./configure >>>>>> sudo xattr -rc . >>>>>> sudo make install >>>>>> >>>>>> George >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Mar 15, 2023 at 1:20 PM William McEnaney < >>>>>> bill.mcenaney.jr at gmail.com> wrote: >>>>>> >>>>>>> Hi, everyone, >>>>>>> >>>>>>> Thank you for the help. Someone will tell me how to solve >>>>>>> the problem, I hope because it stumped me. >>>>>>> >>>>>>> Bill >>>>>>> >>>>>>> On Wed, Mar 15, 2023 at 12:10 PM Brandon Allbery < >>>>>>> allbery.b at gmail.com> wrote: >>>>>>> >>>>>>>> That seems unlikely; it would report a permission error in that >>>>>>>> case, >>>>>>>> not that it had the wrong architecture. >>>>>>>> >>>>>>>> On Wed, Mar 15, 2023 at 12:04 PM George Colpitts >>>>>>>> wrote: >>>>>>>> > >>>>>>>> > Hi Bill >>>>>>>> > >>>>>>>> > I'm cc'ing GHC dev and GHC users as someone else may have a >>>>>>>> better answer, catch a mistake I made etc. Please don't delete them. >>>>>>>> > >>>>>>>> > I believe you have encountered >>>>>>>> https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206 >>>>>>>> > >>>>>>>> > I believe the way to fix this is to do the following: >>>>>>>> > >>>>>>>> > rm -fr /usr/local/bin/ghc* >>>>>>>> > rm -fr /usr/local/lib/ghc* >>>>>>>> > ./configure >>>>>>>> > sudo xattr -rc . >>>>>>>> > sudo make install >>>>>>>> > >>>>>>>> > >>>>>>>> > However I am unsure why you are encountering this as the issue is >>>>>>>> supposed to have been fixed. >>>>>>>> > >>>>>>>> > Cheers >>>>>>>> > George >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > On Wed, Mar 15, 2023 at 11:21 AM William McEnaney < >>>>>>>> bill.mcenaney.jr at gmail.com> wrote: >>>>>>>> >> >>>>>>>> >> Hi, George, >>>>>>>> >> >>>>>>>> >> I got this message when I ran make install with the sudo >>>>>>>> command. What should I do? >>>>>>>> >> >>>>>>>> >> libHSterminfo-0.4.1.5-ghc9.4.4.dylib” can’t be opened because >>>>>>>> Apple cannot check it for malicious software. >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> What should I do now? >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> Thanks. >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> Bill >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> On Wed, Mar 15, 2023 at 9:29 AM William McEnaney < >>>>>>>> bill.mcenaney.jr at gmail.com> wrote: >>>>>>>> >>> >>>>>>>> >>> Hi George, >>>>>>>> >>> >>>>>>>> >>> Thank you for your reply. I forget what I did to install it. >>>>>>>> But the compiler and other ghc-related programs live in /usr/local/bin. >>>>>>>> Since I installed the wrong binaries, I changed the directory to >>>>>>>> /usr/local/bin and tried to empty that directory with rm -rf ghc*.*, but >>>>>>>> that didn't delete anything. So I wonder whether I'll need to remove those >>>>>>>> programs before reinstalling ghc. >>>>>>>> >>> >>>>>>>> >>> Thanks for your help, too. >>>>>>>> >>> >>>>>>>> >>> Best, >>>>>>>> >>> Bill >>>>>>>> >>> >>>>>>>> >>> On Wed, Mar 15, 2023 at 7:59 AM George Colpitts < >>>>>>>> george.colpitts at gmail.com> wrote: >>>>>>>> >>>> >>>>>>>> >>>> Hi Bill >>>>>>>> >>>> >>>>>>>> >>>> Yes,GHC will run on your new MacBook Air. The cpu in that is >>>>>>>> Apple Silicon , the aarch64-apple-darwin platform. Older Macs run on Intel >>>>>>>> chips, the x86_64-apple-darwin platform. >>>>>>>> >>>> >>>>>>>> >>>> I'm not sure how you installed the compiler. I believe the >>>>>>>> standard way is described on https://www.haskell.org/ghcup/. Can >>>>>>>> you tell us how you installed it? >>>>>>>> >>>> >>>>>>>> >>>> Thanks >>>>>>>> >>>> George >>>>>>>> >>>> >>>>>>>> >>>> On Wed, Mar 15, 2023 at 8:22 AM Simon Peyton Jones < >>>>>>>> simon.peytonjones at gmail.com> wrote: >>>>>>>> >>>>> >>>>>>>> >>>>> Redirecting this query to ghc-devs. Can anyone help >>>>>>>> William? Thanks! >>>>>>>> >>>>> >>>>>>>> >>>>>> Will GHC run on my new MacBook Air? After installing the >>>>>>>> compiler, my laptop said its processor was wrong for the binary >>>>>>>> distribution I chose. If there is a dmg file for MacOS 12.5.1, please >>>>>>>> please link your reply to it. >>>>>>>> >>>>> >>>>>>>> >>>>> >>>>>>>> >>>>> Simon >>>>>>>> >>>>> >>>>>>>> >>>>> On Tue, 14 Mar 2023 at 23:33, William McEnaney < >>>>>>>> bill.mcenaney.jr at gmail.com> wrote: >>>>>>>> >>>>>> >>>>>>>> >>>>>> Dear Dr. Jones, >>>>>>>> >>>>>> >>>>>>>> >>>>>> Will GHC run on my new MacBook Air? After installing the >>>>>>>> compiler, my laptop said its processor was wrong for the binary >>>>>>>> distribution I chose. If there is a dmg file for MacOS 12.5.1, please >>>>>>>> please link your reply to it. >>>>>>>> >>>>>> >>>>>>>> >>>>>> Thanks for your help. >>>>>>>> >>>>>> >>>>>>>> >>>>>> Best, >>>>>>>> >>>>>> Bill >>>>>>>> >>>>> >>>>>>>> >>>>> _______________________________________________ >>>>>>>> >>>>> ghc-devs mailing list >>>>>>>> >>>>> ghc-devs at haskell.org >>>>>>>> >>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>>>>>>> > >>>>>>>> > _______________________________________________ >>>>>>>> > ghc-devs mailing list >>>>>>>> > ghc-devs at haskell.org >>>>>>>> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> brandon s allbery kf8nh >>>>>>>> allbery.b at gmail.com >>>>>>>> >>>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.t.smith at gmail.com Fri Mar 17 12:08:21 2023 From: steve.t.smith at gmail.com (Steven Smith) Date: Fri, 17 Mar 2023 08:08:21 -0400 Subject: Installing GHC on my MacBook Air In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2531 bytes Desc: not available URL: From george.colpitts at gmail.com Fri Mar 17 12:12:46 2023 From: george.colpitts at gmail.com (George Colpitts) Date: Fri, 17 Mar 2023 09:12:46 -0300 Subject: Installing GHC on my MacBook Air In-Reply-To: References: Message-ID: Type the following at the command line: xcode-select --install and then try ghci again. I'm not sure what you mean by "the software" in the phrase "Should I delete and reinstall the software you told me to install?" but in any case don't delete anything. Please try to be as specific as possible. When you first encounter a problem you should Google for a solution. If that doesn't work you can send mail to me but also cc ghc-devs at haskell.org and glasgow-haskell-users at haskell.org Cheers George On Thu, Mar 16, 2023 at 11:09 PM William McEnaney < bill.mcenaney.jr at gmail.com> wrote: > Hi, George, > > Sorry to bother you. Though ghc seems to run properly, here's what ghci > prints on my screen. What mistake did I make? Should I delete and reinstall > the software you told me to install? > > "GHCi, version 9.4.4: https://www.haskell.org/ghc/ :? for help > > xcrun: error: invalid active developer path > (/Library/Developer/CommandLineTools), missing xcrun at: > /Library/Developer/CommandLineTools/usr/bin/xcrun > > `gcc' failed in phase `gcc'. (Exit code: 1) > > williammcenaney at Williams-Air bin" > > > Thanks. > > > Bill > > > Bill > > On Wed, Mar 15, 2023 at 7:59 AM George Colpitts > wrote: > >> Hi Bill >> >> Yes,GHC will run on your new MacBook Air. The cpu in that is Apple >> Silicon , the aarch64-apple-darwin platform. Older Macs run on Intel chips, >> the x86_64-apple-darwin platform. >> >> I'm not sure how you installed the compiler. I believe the standard way >> is described on https://www.haskell.org/ghcup/. Can you tell us how you >> installed it? >> >> Thanks >> George >> >> On Wed, Mar 15, 2023 at 8:22 AM Simon Peyton Jones < >> simon.peytonjones at gmail.com> wrote: >> >>> Redirecting this query to ghc-devs. Can anyone help William? Thanks! >>> >>> Will GHC run on my new MacBook Air? After installing the compiler, my >>>> laptop said its processor was wrong for the binary distribution I chose. If >>>> there is a dmg file for MacOS 12.5.1, please please link your reply to it. >>>> >>> >>> Simon >>> >>> On Tue, 14 Mar 2023 at 23:33, William McEnaney < >>> bill.mcenaney.jr at gmail.com> wrote: >>> >>>> Dear Dr. Jones, >>>> >>>> Will GHC run on my new MacBook Air? After installing the compiler, my >>>> laptop said its processor was wrong for the binary distribution I chose. If >>>> there is a dmg file for MacOS 12.5.1, please please link your reply to it. >>>> >>>> Thanks for your help. >>>> >>>> Best, >>>> Bill >>>> >>> _______________________________________________ >>> ghc-devs mailing list >>> ghc-devs at haskell.org >>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From trevor.mcdonell at gmail.com Fri Mar 24 10:28:59 2023 From: trevor.mcdonell at gmail.com (Trevor McDonell) Date: Fri, 24 Mar 2023 11:28:59 +0100 Subject: CFP: Haskell Symposium 2023 Message-ID: =============================================================================== ACM SIGPLAN CALL FOR SUBMISSIONS Haskell Symposium 2023 Seattle, WA, USA Fri 8 -- Sat 9 September, 2023 http://www.haskell.org/haskell-symposium/2023/ ================================================================================ The ACM SIGPLAN Haskell Symposium 2023 will be co-located with the 2023 International Conference on Functional Programming (ICFP). As with last year, Haskell'23 will use a single-track submission process. That is, we will only have the regular track and no early track. The Haskell Symposium presents original research on Haskell, discusses practical experience and future development of the language, and promotes other forms of declarative programming. Topics of interest include: * Language design, with a focus on possible extensions and modifications of Haskell as well as critical discussions of the status quo; * Theory, such as formal semantics of the present language or future extensions, type systems, effects, metatheory, and foundations for program analysis and transformation; * Implementations, including program analysis and transformation, static and dynamic compilation for sequential, parallel, and distributed architectures, memory management, as well as foreign function and component interfaces; * Libraries, that demonstrate new ideas or techniques for functional programming in Haskell; * Tools, such as profilers, tracers, debuggers, preprocessors, and testing tools; * Applications, to scientific and symbolic computing, databases, multimedia, telecommunication, the web, and so forth; * Functional Pearls, being elegant and instructive programming examples; * Experience Reports, to document general practice and experience in education, industry, or other contexts; * Tutorials, to document how to use a particular language feature, programming technique, tool or library within the Haskell ecosystem; * System Demonstrations, based on running software rather than novel research results. Regular papers should explain their research contributions in both general and technical terms, identifying what has been accomplished, explaining why it is significant, and relating it to previous work, and to other languages where appropriate. Experience reports and functional pearls need not necessarily report original academic research results. For example, they may instead report reusable programming idioms, elegant ways to approach a problem, or practical experience that will be useful to other users, implementers, or researchers. The key criterion for such a paper is that it makes a contribution from which other Haskellers can benefit. It is not enough simply to describe a standard solution to a standard programming problem, or report on experience where you used Haskell in the standard way and achieved the result you were expecting. Like an experience report and a functional pearl, tutorials should make a contribution from which other Haskellers can benefit. What distinguishes a tutorial is that its focus is on explaining an aspect of the Haskell language and/or ecosystem in a way that is generally useful to a Haskell audience. Tutorials for many such topics can be found online; the distinction here is that by writing it up for formal review it will be vetted by experts and formally published. System demonstrations should summarize the system capabilities that would be demonstrated. The proposals will be judged on whether the ensuing session is likely to be important and interesting to the Haskell community at large, whether on grounds academic or industrial, theoretical or practical, technical, social or artistic. Please contact the program chair with any questions about the relevance of a proposal. If your contribution is not a research paper, please mark the title of your experience report, functional pearl, tutorial or system demonstration as such, by supplying a subtitle (Experience Report, Functional Pearl, Tutorial Paper, System Demonstration). Submission Details ================== Formatting ---------- Submitted papers should be in portable document format (PDF), formatted using the ACM SIGPLAN style guidelines. Authors should use the `acmart` format, with the `sigplan` sub-format for ACM proceedings. For details, see: http://www.sigplan.org/Resources/Author/#acmart-format It is recommended to use the `review` option when submitting a paper; this option enables line numbers for easy reference in reviews. Functional pearls, experience reports, tutorials and demo proposals should be labelled clearly as such. Lightweight Double-blind Reviewing ---------------------------------- Haskell Symposium 2023 will use a lightweight double-blind reviewing process. To facilitate this, submitted papers must adhere to two rules: 1. Author names and institutions must be omitted, and 2. References to authors' own related work should be in the third person (e.g., not "We build on our previous work" but rather "We build on the work of "). The purpose of this process is to help the reviewers come to an initial judgement about the paper without bias, not to make it impossible for them to discover the authors if they were to try. Nothing should be done in the name of anonymity that weakens the submission or makes the job of reviewing the paper more difficult (e.g., important background references should not be omitted or anonymised). In addition, authors should feel free to disseminate their ideas or draft versions of their paper as they normally would. For instance, authors may post drafts of their papers on the web or give talks on their research ideas. A reviewer will learn the identity of the author(s) of a paper after a review is submitted. Page Limits ----------- The length of submissions should not exceed the following limits: Regular paper: 12 pages Functional pearl: 12 pages Tutorial: 12 pages Experience report: 6 pages Demo proposal: 2 pages There is no requirement that all pages are used. For example, a functional pearl may be much shorter than 12 pages. In all cases, the list of references is not counted against these page limits. Deadlines --------- Paper submission: 1 June 2023 (Thu) Notification: 4 July 2023 (Tue) Camera ready: 18 July 2023 (Tue) Deadlines are anywhere on Earth. Submission ---------- Submissions must adhere to SIGPLAN's republication policy (http://sigplan.org/Resources/Policies/Republication/), and authors should be aware of ACM's policies on plagiarism (https://www.acm.org/publications/policies/plagiarism). Program Committee members are allowed to submit papers, but their papers will be held to a higher standard. The paper submission deadline and length limitations are firm. There will be no extensions, and papers violating the length limitations will be summarily rejected. Papers should be submitted through HotCRP at: https://haskell23.hotcrp.com/ Improved versions of a paper may be submitted at any point before the submission deadline using the same web interface. Supplementary material: Authors have the option to attach supplementary material to a submission, on the understanding that reviewers may choose not to look at it. This supplementary material should not be submitted as part of the main document; instead, it should be uploaded as a separate PDF document or tarball. Supplementary material should be uploaded at submission time, not by providing a URL in the paper that points to an external repository. Authors can distinguish between anonymised and non-anonymised supplementary material. Anonymised supplementary material will be visible to reviewers immediately; non-anonymised supplementary material will be revealed to reviewers only after they have submitted their review of the paper and learned the identity of the author(s). Resubmitted Papers: authors who submit a revised version of a paper that has previously been rejected by another conference have the option to attach an annotated copy of the reviews of their previous submission(s), explaining how they have addressed these previous reviews in the present submission. If a reviewer identifies him/herself as a reviewer of this previous submission and wishes to see how his/her comments have been addressed, the conference chair will communicate to this reviewer the annotated copy of his/her previous review. Otherwise, no reviewer will read the annotated copies of the previous reviews. Proceedings =========== Accepted papers will be included in the ACM Digital Library. Their authors will be required to choose one of the following options: - Author retains copyright of the work and grants ACM a non-exclusive permission-to-publish license (and, optionally, licenses the work with a Creative Commons license); - Author retains copyright of the work and grants ACM an exclusive permission-to-publish license; - Author transfers copyright of the work to ACM. For more information, please see ACM Copyright Policy (http://www.acm.org/publications/policies/copyright-policy) and ACM Author Rights (http://authors.acm.org/main.html). Accepted proposals for system demonstrations will be posted on the symposium website but not formally published in the proceedings. Publication date: The official publication date of accepted papers is the date the proceedings are made available in the ACM Digital Library. This date may be up to two weeks prior to the first day of the conference. The official publication date affects the deadline for any patent filings related to published work. Artefacts ========= Authors are encouraged to make auxiliary material (artefacts like source code, test data, etc.) available with their paper. Authors can opt to have these artefacts published alongside their paper in the ACM Digital Library (copyright of artefacts remains with the authors). Artefacts must be included as part of their submission to HotCRP and should consist of a .zip file containing the artefact materials, a README explaining the contents of the artefact and how it should be used, and a LICENSE file. If an accepted paper's artefacts are made permanently available for retrieval in a publicly accessible archival repository like the ACM Digital Library, that paper qualifies for an Artefact badge (https://www.acm.org/publications/policies/artifact-review-badging). Program Committee ================= Alexander Green Standard Chartered, UK David Thrane Christiansen The Haskell Foundation, Denmark Edsko de Vries Well-Typed LLP, Netherlands Exequiel Rivas Tallinn University of Technology Facundo Domínguez Tweag Florian Zuleger TU Vienna, Austria Graham Hutton University of Nottingham, UK Jasper Van der Jeugt Snyk, Switzerland Jennifer Paykin Intel, USA Jesper Cockx Delft University of Technology, Netherlands Jose Nuno Oliveira University of Minho & INESC TEC, Portugal Michael Sperber Active Group GmbH, Germany Michel Steuwer University of Edinburgh, UK Niki Vazou (chair) IMDEA Software Institute, Spain Rumyana Neykova Brunel University London, UK Trevor L. McDonell (co-chair) Utrecht University, Netherlands Ugo Dal Lago University of Bologna, Italy & INRIA, France Wen Kokke University of Edinburgh, UK Leonidas Lampropoulos University of Maryland, College Park, USA If you have questions, please contact the chairs at niki.vazou at imdea.org and t.l.mcdonell at uu.nl. ================================================================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: