[ghc-steering-committee] A plea for ForeignFunctionInterface
Iavor Diatchki
iavor.diatchki at gmail.com
Thu Dec 17 17:19:25 UTC 2020
I completely agree with Simon. I voted against FFI in my first iteration,
because I forgot that we added in Haskell 2010 and I figured the FFI is
something that is not used all that often, so it doesn't hurt if you have
to mark when you use it.
When it was pointed out that it is already part of 2010 I updated my vote
to "yes" (I hope, it's a bit hard to see the votes). I also think that
with FFI being enabled, there is absolutely no reason to not also turn on
CApiFFI, as it is very convenient when you do FFI stuff, and it only
affects FFI related things.
-Iavor
On Thu, Dec 17, 2020 at 8:40 AM Simon Marlow <marlowsd at gmail.com> wrote:
> Dear Committee
>
> We're in danger of actually *removing* an extension from the default set
> of extensions that is enabled in GHC, which is not what I understood
> GHC2021 was all about. And it's not because anyone (at least as far as I
> know) actually thinks that ForeignFunctionInterface is a bad idea and
> should be deprecated or replaced. What other reasons could there be for
> turning off an extension that has been on by default for so many years?
>
> ForeignFunctionInterface is part of Haskell2010. Are we saying we disagree
> with the decision to make it a part of the language standard? I hope not!
>
> Please let's think very hard before doing this!
>
> Cheers
> Simon
>
> On Mon, 14 Dec 2020 at 22:22, Joachim Breitner <mail at joachim-breitner.de>
> wrote:
>
>> Dear Committe,
>>
>> three weeks in, we have all votes. So now things are looking more
>> concrete.
>>
>> As always, the table
>>
>> https://github.com/ghc-proposals/ghc-proposals/blob/ghc2021/proposals/0000-ghc2021.rst#data
>> has the current data.
>>
>> Would it be helpful to add columns to that table for each committee
>> member? So that you can quickly see who voted what?
>>
>> The following in are safely in (= need more than one vote to change to
>> get out):
>>
>> BangPatterns, BinaryLiterals, ConstrainedClassMethods, ConstraintKinds,
>> DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric,
>> DeriveLift, DeriveTraversable, EmptyCase, EmptyDataDecls,
>> EmptyDataDeriving, ExplicitForAll, FlexibleContexts, FlexibleInstances,
>> GADTSyntax, GeneralisedNewtypeDeriving, HexFloatLiterals,
>> ImportQualifiedPost, InstanceSigs, KindSignatures,
>> MultiParamTypeClasses, NamedFieldPuns, NumericUnderscores, PolyKinds,
>> PostfixOperators, RankNTypes, StandaloneDeriving, StarIsType,
>> TypeApplications, TypeSynonymInstances
>>
>> The following are barely in (exactly 8 votes in favor, and 3 against):
>>
>> ExistentialQuantification, NamedWildCards, StandaloneKindSignatures,
>> TypeOperators
>>
>> The following are short one vote (7 in favor, 4 against):
>>
>> DerivingStrategies, ForeignFunctionInterface, GADTs, MonoLocalBinds,
>> NegativeLiterals, RecordWildCards, ScopedTypeVariables, TupleSections,
>> TypeFamilies
>>
>>
>> I am sure we can have plenty of discussion for each of these. Probably
>> without end. As Simon says, mailing lists don't scale. So I think we
>> have two choices:
>>
>> 1. Let the numbers decide, and accept whatever comes out. According to
>> the process (which we should only follow if we find it helpful) we’d
>> maybe update our votes, and maybe point out new facets, for one week,
>> and then just take whatever has 8 votes.
>>
>> or
>>
>> 2. Explore a more efficient discussion format.
>>
>> For the latter I mentioned kialo.com before, and maybe it is worth a
>> try, so I set up a discussion there:
>>
>> https://www.kialo.com/which-haskell-extensions-should-go-into-ghc2021-43548?path=43548.0
>>
>> So what do you see there?
>>
>> There is a discussion tree:
>>
>> The root is “what goes in GHC2021”
>>
>> The next layer are all extensions with 7 or 8 votes.
>> (I assume we should focus on those initially, but feel free to add
>> more or ask me to.)
>> For example: TupleSections
>>
>> And then each of these has a column where we can collect Pros and cons.
>> For example:
>> Pro: Opt-in Syntax
>> Con: Possible clash with extra-comma syntax extensions.
>>
>> So you can treat it like a wiki, but with structure to organize the
>> discussion.
>>
>> In fact, each pro and con is itself a node where you can add supporting
>> and disagreeing comments. This means that if you _disagree_ that
>> TupleSections are actually Opt-in syntax, there is a dedicated place to
>> raise that point, rather than putting “Not actually opt-in” in the Con
>> column of TupleSections…
>>
>> A good way to navigate the discussion seems to be the radial icon in
>> the top left; it opens a radial view of the whole discussion, and you
>> can read arguments by hovering.
>>
>>
>> The site doesn't offer voting, it is only about structuring the
>> discussion, and it is designed for much larger and much more
>> contentious debates (e.g. “Brexit”). So we’ll see how well it works for
>> us and if it’s helpful.
>>
>> Cheers,
>> Joachim
>>
>>
>> --
>> Joachim Breitner
>> mail at joachim-breitner.de
>> http://www.joachim-breitner.de/
>>
>>
>> _______________________________________________
>> ghc-steering-committee mailing list
>> ghc-steering-committee at haskell.org
>> https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee
>>
> _______________________________________________
> ghc-steering-committee mailing list
> ghc-steering-committee at haskell.org
> https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-steering-committee/attachments/20201217/aaff1a12/attachment.html>
More information about the ghc-steering-committee
mailing list