Enable mutations

This commit is contained in:
2019-06-23 05:38:45 +02:00
parent 5e9bf9648d
commit 2172de3729
3 changed files with 7 additions and 9 deletions

View File

@ -38,12 +38,9 @@ import Data.List (dropWhileEnd)
import Data.Proxy (Proxy(..))
import Data.Void (Void)
import Text.Megaparsec ( Parsec
, MonadParsec
, Token
, between
, chunk
, chunkToTokens
, lookAhead
, notFollowedBy
, oneOf
, option
@ -162,7 +159,7 @@ blockString = between "\"\"\"" "\"\"\"" stringValue
| not (isWhiteSpace $ T.head x) = acc
| acc == 0 = T.length x
| otherwise = min acc $ T.length x
removeIndent n [] = []
removeIndent _ [] = []
removeIndent n (x:chunks) = T.drop n x : chunks
-- | Parser for integers.