haskell / haskell/stylish-haskell

UTF8 in type parameters is broken

Open
#326 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

Take this code:

```haskell
data Foo = Foo { foo :: Foo "кек" }
```

There are non-ASCII UTF8 symbols in the type parameter (and it's perfectly OK).

`stylish-haskell` does this:

```haskell
data Foo
= Foo
{ foo :: Foo "\1082\1077\1082"
}
```

This is unacceptable of course :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.