Skip to content

Can't compile unicode symbols #652

Closed
@4lex1v

Description

@4lex1v

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions