CurryInfo: curry-ast-3.1.0 / Curry.Span.fromPosition

definition:
fromPosition :: Position -> Span
fromPosition NoPos            = NoSpan
fromPosition p@(Position _ _) = Span p p
demand:
argument 1
deterministic:
deterministic operation
documentation:
-- | Create a Span with the given Position as start and end
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({NoPos}) |-> {NoSpan} || ({Position}) |-> {Span}}
name:
fromPosition
precedence:
no precedence defined
result-values:
{NoSpan,Span}
signature:
Curry.Position.Position -> Span
solution-complete:
operationally complete operation
terminating:
yes
totally-defined:
reducible on all ground data terms