Documentation
groupEither :: [Either a b] -> ([a], [b])Source
extended_gcd :: Integral a => a -> a -> (a, a, a)Source
let (p,q,r) = extended_gcd x y in (x * p + y * q = r) && (gcd x y = r)
groupEither :: [Either a b] -> ([a], [b])Source
extended_gcd :: Integral a => a -> a -> (a, a, a)Source
let (p,q,r) = extended_gcd x y in (x * p + y * q = r) && (gcd x y = r)