From patchwork Thu Feb 7 12:12:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 979 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EE9FF16BCD; Thu, 7 Feb 2019 12:16:07 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8C7D616B45 for ; Thu, 7 Feb 2019 12:16:07 +0000 (GMT) Received: from localhost ([127.0.0.1]:38760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grib8-0007vu-Ao for patchwork@mira.cbaines.net; Thu, 07 Feb 2019 07:16:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grib5-0007uy-Lq for guix-patches@gnu.org; Thu, 07 Feb 2019 07:16:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grib4-0006gC-PW for guix-patches@gnu.org; Thu, 07 Feb 2019 07:16:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37344) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grib4-0006g2-LW for guix-patches@gnu.org; Thu, 07 Feb 2019 07:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grib4-0003Z7-9o for guix-patches@gnu.org; Thu, 07 Feb 2019 07:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34369] [PATCH] gnu: Add ghc-base-unicode-symbols. Resent-From: Gabriel Hondet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Feb 2019 12:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34369 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34369@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154954171413641 (code B ref -1); Thu, 07 Feb 2019 12:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Feb 2019 12:15:14 +0000 Received: from localhost ([127.0.0.1]:36625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1griaI-0003Xw-Ie for submit@debbugs.gnu.org; Thu, 07 Feb 2019 07:15:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1griaG-0003Xh-EL for submit@debbugs.gnu.org; Thu, 07 Feb 2019 07:15:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:45163) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1griaB-0006IK-9G for submit@debbugs.gnu.org; Thu, 07 Feb 2019 07:15:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1griaA-0007HN-2w for guix-patches@gnu.org; Thu, 07 Feb 2019 07:15:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gria9-0006Gw-4W for guix-patches@gnu.org; Thu, 07 Feb 2019 07:15:06 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:34810) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gria8-0006GW-Rg for guix-patches@gnu.org; Thu, 07 Feb 2019 07:15:05 -0500 Received: by mail-wr1-x42f.google.com with SMTP id z15so9261561wrn.1 for ; Thu, 07 Feb 2019 04:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=YN9hwaglrzkaUaymKQxAPHhe0uplqYASR5+uv+CXZAY=; b=gxXrL2mTyUHElsnJfXYnJcPpyEUmQQKpMKiDli0xTj9An4qJgyw/pYFsbqLCKaruBF v9Ha1WSLliSh2a0ESVZqpwZlMQsJ/dyvCGC6axj4nFl5acu9kB3N3HsP8rYS9keMTigg BjgTPS3jPIqEEJ+cJtOlTmopKZd2zreNRQlWFsYTzLVbXuKgVlQXvlUzplm92kZbZQ7V R75s/yh+vFx+w6XK3QAE2B1Ilpfr6G1nLzRrr8vHqEOK5PgVlRUfWgCskwEyzGFud2ag +iQ+/Ai/nAybYrMKDDSIfeGcuDm93kLKRH7mHNV7vn9se7xCKZounBCLjsbQMeUCD83d ETnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=YN9hwaglrzkaUaymKQxAPHhe0uplqYASR5+uv+CXZAY=; b=j6/oyNrJ8s66e+CElsFm3iZHjNi164q5miTlRxu8wQIYyy2Bi3zid8UPU+IGG404um xk24jk+nPmv738uSA/WHa4ec/dxscYjrfQa505+kxAusKvB/ev7yTF5+OQPUD1T339he ezaDYj1/sCLIfNBJzo/fi9FLkwZ8vaXYGiKokNbdjZFmUhVbAptD4B3HKSLD6ICwU6X0 9QgzHAXYenkFHy79R7dnYSMcTEa9R5kXSbMYiUmyEwa7Gb2nGtQCFIvBT5yDNUOF+2fV O3fSbrMHkHtiJJrDWvcNzlD5u/A3uBMLAoo2fTtUPr2zRtPGKC3gl3fKV7jUU44vrwPw 08rQ== X-Gm-Message-State: AHQUAubILUTcHRkwnYlF6sPfeHrSgTaHA2DjcTqNGF0f3s4MgQHTIAiA rbzxcGbYncds7Jxn22yuO8zTXPv1 X-Google-Smtp-Source: AHgI3IZ7D6s7E843+HzqEbOoa2WQXzJrb7T76Of+WalxXsMOgfzaIERGlDBBVC7g2JJZZhg+vNtJUg== X-Received: by 2002:adf:f30f:: with SMTP id i15mr12729356wro.39.1549541703358; Thu, 07 Feb 2019 04:15:03 -0800 (PST) Received: from glht-aurore.gmail.com (2a01cb04062c860082fa5bfffe3823d7.ipv6.abo.wanadoo.fr. [2a01:cb04:62c:8600:82fa:5bff:fe38:23d7]) by smtp.gmail.com with ESMTPSA id c9sm11580545wrs.84.2019.02.07.04.15.02 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Feb 2019 04:15:02 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Thu, 7 Feb 2019 13:12:38 +0100 Message-ID: <87d0o34wxm.fsf@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell.scm (ghc-base-unicode-symbols): New variable. --- gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 255e902e6..4fd54b940 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -11493,4 +11493,31 @@ imported with the correct Haskell types.") Music Player Daemon.") (license license:expat))) +(define-public ghc-base-unicode-symbols + (package + (name "ghc-base-unicode-symbols") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-" + version + ".tar.gz")) + (sha256 + (base32 + "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf")))) + (build-system haskell-build-system) + (home-page "http://www.haskell.org/haskellwiki/Unicode-symbols") + (synopsis "Unicode alternatives for common functions and operators") + (description "This package defines new symbols for a number of functions, +operators and types in the base package. All symbols are documented with +their actual definition and information regarding their Unicode code point. +They should be completely interchangeable with their definitions. For +further Unicode goodness you can enable the @code{UnicodeSyntax} +@url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#unicode-syntax, +language extension}. This extension enables Unicode characters to be used to +stand for certain ASCII character sequences, i.e. → instead of @code{->}, +∀ instead of @code{forall} and many others.") + (license license:bsd-3))) ;;; haskell.scm ends here