{"action":"opened","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6703","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6703/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6703/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6703/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/6703","id":168325883,"number":6703,"title":"Hasklig support for haskell layer","user":{"login":"Profpatsch","id":3153638,"avatar_url":"https://avatars.githubusercontent.com/u/3153638?v=3","gravatar_id":"","url":"https://api.github.com/users/Profpatsch","html_url":"https://github.com/Profpatsch","followers_url":"https://api.github.com/users/Profpatsch/followers","following_url":"https://api.github.com/users/Profpatsch/following{/other_user}","gists_url":"https://api.github.com/users/Profpatsch/gists{/gist_id}","starred_url":"https://api.github.com/users/Profpatsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Profpatsch/subscriptions","organizations_url":"https://api.github.com/users/Profpatsch/orgs","repos_url":"https://api.github.com/users/Profpatsch/repos","events_url":"https://api.github.com/users/Profpatsch/events{/privacy}","received_events_url":"https://api.github.com/users/Profpatsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-29T13:34:13Z","updated_at":"2016-07-29T13:34:13Z","closed_at":null,"body":"[Hasklig](https://github.com/i-tu/Hasklig) is a nice derivation of Source Code Pro that supports ligatures. Someone [already found a working solution](http://lpaste.net/153250) for integration in Emacs, which I integrated in my config by setting this:\r\n\r\n```elisp\r\n  ;;;; nice glyphs for haskell\r\n  (custom-set-variables '(haskell-font-lock-symbols t)\r\n                        '(haskell-font-lock-symbols-alist\r\n                          (and (fboundp 'decode-char)\r\n                              (list (cons \"&&\" (decode-char 'ucs #XE100))\r\n                                    (cons \"***\" (decode-char 'ucs #XE101))\r\n                                    (cons \"*>\" (decode-char 'ucs #XE102))\r\n                                    (cons \"\\\\\\\\\" (decode-char 'ucs #XE103))\r\n                                    (cons \"||\" (decode-char 'ucs #XE104))\r\n                                    (cons \"|>\" (decode-char 'ucs #XE105))\r\n                                    (cons \"::\" (decode-char 'ucs #XE106))\r\n                                    (cons \"==\" (decode-char 'ucs #XE107))\r\n                                    (cons \"===\" (decode-char 'ucs #XE108))\r\n                                    (cons \"==>\" (decode-char 'ucs #XE109))\r\n                                    (cons \"=>\" (decode-char 'ucs #XE10A))\r\n                                    (cons \"=<<\" (decode-char 'ucs #XE10B))\r\n                                    (cons \"!!\" (decode-char 'ucs #XE10C))\r\n                                    (cons \">>\" (decode-char 'ucs #XE10D))\r\n                                    (cons \">>=\" (decode-char 'ucs #XE10E))\r\n                                    (cons \">>>\" (decode-char 'ucs #XE10F))\r\n                                    (cons \">>-\" (decode-char 'ucs #XE110))\r\n                                    (cons \">-\" (decode-char 'ucs #XE111))\r\n                                    (cons \"->\" (decode-char 'ucs #XE112))\r\n                                    (cons \"-<\" (decode-char 'ucs #XE113))\r\n                                    (cons \"-<<\" (decode-char 'ucs #XE114))\r\n                                    (cons \"<*\" (decode-char 'ucs #XE115))\r\n                                    (cons \"<*>\" (decode-char 'ucs #XE116))\r\n                                    (cons \"<|\" (decode-char 'ucs #XE117))\r\n                                    (cons \"<|>\" (decode-char 'ucs #XE118))\r\n                                    (cons \"<$>\" (decode-char 'ucs #XE119))\r\n                                    (cons \"<>\" (decode-char 'ucs #XE11A))\r\n                                    (cons \"<-\" (decode-char 'ucs #XE11B))\r\n                                    (cons \"<<\" (decode-char 'ucs #XE11C))\r\n                                    (cons \"<<<\" (decode-char 'ucs #XE11D))\r\n                                    (cons \"<+>\" (decode-char 'ucs #XE11E))\r\n                                    (cons \"..\" (decode-char 'ucs #XE11F))\r\n                                    (cons \"...\" (decode-char 'ucs #XE120))\r\n                                    (cons \"++\" (decode-char 'ucs #XE121))\r\n                                    (cons \"+++\" (decode-char 'ucs #XE122))\r\n                                    (cons \"/=\" (decode-char 'ucs #XE123))))))\r\n```\r\n\r\nIt should be easy to provide support in Haskell mode.\r\n"}}
{"actor":{"display_login":"Profpatsch"}}