haskell / haskell/stylish-haskell

Trailing whitespace is trimmed inside quasiquotes

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

Description

The meaning of this program is changed by running `stylish-haskell` over it. Note the trailing space character in the first line of the quasiquote.

``` haskell
{-# LANGUAGE QuasiQuotes #-}

import Acme.Missiles
import Text.RawString.QQ

main = do
let -- Space based nuclear defense.
l = length [r|
|]
if l == 1
then launchMissiles
else putStrLn "Phew..."
```

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.