string-interpolate-0.3.0.1: Haskell string/text/bytestring interpolation that just works

Copyright(c) William Yao 2019-2020
LicenseBSD-3
Maintainerwilliamyaoh@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe
LanguageHaskell2010

Data.String.Interpolate.Parse

Description

YOU SHOULD NOT USE THIS MODULE.

This is exported mainly so tests can introspect on the implementation.

Synopsis

Documentation

parseInterpSegments :: String -> Either String [InterpSegment] Source #

Given the raw input from a quasiquote, parse it into the information we need to output the actual expression.

Returns an error message if parsing fails.