Anonymous user
Fraction reduction: Difference between revisions
m
→{{header|Haskell}}
Line 1,370:
possibleFractions :: [Int] -> [Fraction]
possibleFractions xs =
in [(n,d) | n <-
digits :: Integral a => a -> a -> [a]
|