unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#34369] [PATCH] gnu: Add ghc-base-unicode-symbols.
@ 2019-02-07 12:12 Gabriel Hondet
  2019-02-10 20:46 ` bug#34369: " Danny Milosavljevic
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Hondet @ 2019-02-07 12:12 UTC (permalink / raw)
  To: 34369

[-- Attachment #1: Type: text/plain, Size: 1861 bytes --]


* 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
-- 
2.20.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#34369: [PATCH] gnu: Add ghc-base-unicode-symbols.
  2019-02-07 12:12 [bug#34369] [PATCH] gnu: Add ghc-base-unicode-symbols Gabriel Hondet
@ 2019-02-10 20:46 ` Danny Milosavljevic
  0 siblings, 0 replies; 2+ messages in thread
From: Danny Milosavljevic @ 2019-02-10 20:46 UTC (permalink / raw)
  To: Gabriel Hondet; +Cc: 34369-done

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]

Thanks!  Pushed to guix master as d4ce1c5029dcf68a72ba4e4288d13341c57b2005.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-10 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-07 12:12 [bug#34369] [PATCH] gnu: Add ghc-base-unicode-symbols Gabriel Hondet
2019-02-10 20:46 ` bug#34369: " Danny Milosavljevic

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).