test/Golden/Splice/G1.hs:0:0:: Splicing expression P.runParser @Text Grammar.g1 ======> \ (input :: inp) -> let !(# init, readMore, readNext #) = let _ = "cursorOf" in let next t@(Data.Text.Internal.Text arr off unconsumed) = let !(Data.Text.Unsafe.Iter c d) = (Data.Text.Unsafe.iter t) 0 in (# c, ((Data.Text.Internal.Text arr) (off + d)) (unconsumed - d) #) more (Data.Text.Internal.Text _ _ unconsumed) = (unconsumed > 0) in (# input, more, next #) in let finalRet = \ _farInp _farExp v _inp -> Right v in let finalRaise :: forall b. P.Catcher inp b = \ _failInp !farInp !farExp -> Left P.ParsingErrorStandard {P.parsingErrorOffset = P.offset farInp, P.parsingErrorUnexpected = if readMore farInp then Just (let (# c, _ #) = readNext farInp in c) else Nothing, P.parsingErrorExpecting = Data.Set.Internal.fromList farExp} in let readFail = finalRaise in if readMore init then let !(# c, cs #) = readNext init in if ('a' ==) c then let _ = "resume" in (((finalRet init) []) (let _ = "resume.genCode" in ((\ x -> \ x -> x x) (\ x -> 'a')) c)) cs else let _ = "checkToken.else" in let (# farInp, farExp #) = case ((compare `Data.Function.on` P.offset) init) init of LT -> (# init, [P.ErrorItemToken 'a'] #) EQ -> (# init, ([] <> [P.ErrorItemToken 'a']) #) GT -> (# init, [] #) in ((finalRaise init) farInp) farExp else let _ = "checkHorizon.else" in let (# farInp, farExp #) = case ((compare `Data.Function.on` P.offset) init) init of LT -> (# init, [P.ErrorItemHorizon 1] #) EQ -> (# init, ([] <> [P.ErrorItemHorizon 1]) #) GT -> (# init, [] #) in ((finalRaise init) farInp) farExp