definition: |
unexpected :: Show token => token -> Parser token a unexpected t _ = Left $ "unexpected token " ++ show t |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
--- Returns parse error about unexpected token `t` |
failfree: |
(_, _, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_,_) |-> _} |
name: |
unexpected |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
Prelude.Show a => a -> [a] -> Prelude.Either String ([a], b) |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |