CurryInfo: currypp-3.2.0 / CPP.ICode.ParsePos.movePosByChar

definition: Info
 
movePosByChar :: Pos -> Char -> Pos
movePosByChar (Pos f a x y) c | c == '\n' = Pos f (a+1) (x+1) 1
                              | c == '\t' = Pos f (a+1) x (y+tw-mod (y-1) tw)                                           
                              | otherwise = Pos f (a+1) x     (y+1)
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Move the position one character
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({Pos},_) |-> {Pos}}
name: Info
 movePosByChar
precedence: Info
 no precedence defined
result-values: Info
 {Pos}
signature: Info
 Pos -> Prelude.Char -> Pos
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term