CurryInfo: curry-ast-3.1.0 / Curry.SpanInfo.setSrcSpan

definition:
setSrcSpan :: HasSpanInfo a => Span -> a -> a
setSrcSpan s a = case getSpanInfo a of
  NoSpanInfo     -> setSpanInfo (SpanInfo s [])  a
  SpanInfo _ inf -> setSpanInfo (SpanInfo s inf) a
demand:
argument 1
deterministic:
deterministic operation
failfree:
(_, _, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_,_) |-> _}
name:
setSrcSpan
precedence:
no precedence defined
result-values:
_
signature:
HasSpanInfo a => Curry.Span.Span -> a -> a
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms