Am 11.12.2017 1:32 nachm. schrieb :
Send Haskell-Cafe mailing list submissions to
haskell-cafe@haskell.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
or, via email, send a message with subject or body 'help' to
haskell-cafe-request@haskell.org
You can reach the person managing the list at
haskell-cafe-owner@haskell.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Haskell-Cafe digest..."
Today's Topics:
1. ANN: New Haskell.org Committee Members (Gershom B)
2. How to call constructor from Template Haskell (Baa)
3. Who can send a patche to vim project? (Takenobu Tani)
4. Re: Haskell IDE Engine logo poll (Alan & Kim Zimmerman)
----------------------------------------------------------------------
Message: 1
Date: Mon, 11 Dec 2017 01:36:50 -0500
From: Gershom B
To: haskell-cafe ,
haskell-community@haskell.org, Tikhon Jelvis , Ryan
Trinkle , george@wils.online
Subject: [Haskell-cafe] ANN: New Haskell.org Committee Members
Message-ID:
Content-Type: text/plain; charset="UTF-8"
Following the self-nomination period and discussion, the Haskell.org
committee has selected the following members for a new three-year
term, expiring 2020:
* Tikhon Jelvis
* Ryan Trinkle (reappointment)
* George Wilson
As per the rules of the committee, this discussion was held among the
current members of the committee, and the outgoing members of the
committee who were not seeking reappointment.
Thank you to all the many candidates who submitted a self-nomination.
We received a number of strong nominations. We would encourage all
those who nominated themselves to consider self-nominating again in
the future.
The outgoing members are: John Wiegley and Alan Zimmerman. Thanks both
for your service!
Regards,
Gershom
------------------------------
Message: 2
Date: Mon, 11 Dec 2017 14:03:48 +0200
From: Baa
To: Haskell Cafe
Subject: [Haskell-cafe] How to call constructor from Template Haskell
Message-ID: <20171211140348.2a1610b1@Pavel>
Content-Type: text/plain; charset=US-ASCII
Hello All!
May be topic is not for Haskell beginners, so I'll re-send it to Cafe.
I have function which constructs some data type. It has signature `Name ->
Q [Dec]`.
Somewhere in its body I'm extracting constructors of another type with
pattern-matching:
case tyCons of
DataD ctx nm tyVars mbKind cs derivs -> ...
Type of those constructors `cs` instantiates some class like this:
class MyClass a where
specialValue :: a
So, I'm iterating over those `cs` but I want to skip one of them which is
equal to `specialValue`. Something like this:
[c | c <- cs, c /= specialValue]
How to do this with Template Haskell's `Con` type (`c`::Con)? I can't
simply call it to compare created value with a `specialValue`.
===
Best regards, Paul
------------------------------
Message: 3
Date: Mon, 11 Dec 2017 21:16:25 +0900
From: Takenobu Tani
To: haskell-cafe
Subject: [Haskell-cafe] Who can send a patche to vim project?
Message-ID:
Content-Type: text/plain; charset="utf-8"
Hi cafe,
Who can send a patche to vim project?
I'd like to update vim syntax file (haskell.vim) to fix numeric literals.
I read the vim `CONTRIBUTING.md` file [1].
It instructs me to contact the maintainer of each files.
In the header of `haskell.vim`, the maintainor of `haskell.vim` is
haskell-cafe@ML. [2]
Who is the maintainer of `haskell.vim`?
I'd like to make fix on numeric literals extension: [3]
* BinaryLiterals
* HexFloatLiterals
* NumericUnderscores
I prepared two kinds of patches.
* Exact pattern version [4]
* Fast (but approximate) pattern version [5]
I visually checked patches with the these files [6][7].
Could you send a patch of [4] or [5] to vim project?
P.S.
I have already sent patches to two projects.
* `language-haskell` for atom and linguist [8]
You can already use it on atom.
Linghist (which is used from github) will apply it soon.
* `pygments` [9]
It is pending review.
[1]:
https://github.com/vim/vim/blob/master/CONTRIBUTING.md#
syntax-indent-and-other-runtime-files
[2]: https://github.com/vim/vim/blob/master/runtime/syntax/haskell.vim#L3
[3]:
https://github.com/ghc-proposals/ghc-proposals/blob/
master/proposals/0009-numeric-underscores.rst#new-syntax-this-proposal
[4]:
https://github.com/vim/vim/compare/master...takenobu-hs:
syntax-haskell-literal-exact
[5]:
https://github.com/vim/vim/compare/master...takenobu-hs:
syntax-haskell-literal-fast
[6]:
https://github.com/takenobu-hs/ghc/blob/squashed-numeric-
underscores/testsuite/tests/parser/should_run/NumericUnderscores0.hs
[7]:
https://github.com/takenobu-hs/ghc/blob/squashed-numeric-
underscores/testsuite/tests/parser/should_run/NumericUnderscores1.hs
[8]:
https://github.com/atom-haskell/language-haskell/commit/
f90eb7d8662493536f54898e52b4c7b1dc96de41
[9]:
https://bitbucket.org/birkenfeld/pygments-main/issues/1399/update-haskell-
with-lexer-for-numeric
Regards,
Takenobu