We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i type something with haskell-mode, it replaces std symbols with prettier unicode alternatives, e.g:
function :: Ord c => c -> (c, c) with function :: Ord c ⇒ c → (c, c)
function :: Ord c => c -> (c, c)
function :: Ord c ⇒ c → (c, c)
But when i hit haskell-process-cabal-build i throws me these errors:
haskell-process-cabal-build
Not in scope: type constructor or class ‘⇒’ Not in scope: type constructor or class ‘→’
I've added an extension to .cabal file : extensions: UnicodeSyntax, but it didn't help. I like unicode symbols, but can't compile files.
extensions: UnicodeSyntax
The text was updated successfully, but these errors were encountered:
Hi @4lex1v,
Try the following: Add this line at the top of Haskell source file:
{-# LANGUAGE UnicodeSyntax #-}
and report back. Also can you upload your source file somewhere, for example http://lpaste.net/ is a good place for Haskell code.
Sorry, something went wrong.
should it be default extensions:?
default extensions:
@geraldus Thank you, correct, it should be default-extensions and it should be placed under the library section.
default-extensions
library
No branches or pull requests
When i type something with haskell-mode, it replaces std symbols with prettier unicode alternatives, e.g:
function :: Ord c => c -> (c, c)
with
function :: Ord c ⇒ c → (c, c)
But when i hit
haskell-process-cabal-build
i throws me these errors:I've added an extension to .cabal file :
extensions: UnicodeSyntax
, but it didn't help. I like unicode symbols, but can't compile files.The text was updated successfully, but these errors were encountered: