CurryInfo: curry-interface-2.0.1 / CurryInterface.Parser.pTrace

definition:
pTrace :: String -> Parser a -> Parser a
--pTrace _ p = p
pTrace fn p = \s -> trace (fn ++ ": " ++ takeWhile (/= '\n') s) $ p s
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
-- Helper function for debugging. That is, `pTrace "fn" p` traces 
--   "fn: <first line of current parser input>"
-- before applying the parser `p` to the input string.
failfree:
(_, _)
indeterministic:
might be indeterministic
infix:
no fixity defined
iotype:
{(_,_) |-> {pTrace._#lambda1}}
name:
pTrace
precedence:
no precedence defined
result-values:
{pTrace._#lambda1}
signature:
String -> (String -> [(a, String)]) -> String -> [(a, String)]
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
reducible on all ground data terms