) = map (flip (,) n) ops ++ getprec' (n+1) rest
getprec2 = foldl (+
getprec' n (ops:rest) = map (flip (,) n) ops ++ getprec' (n+1) rest
getprec' n (ops:rest) = map (flip (,) n) ops ++ getprec' (n+1) rest