Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
least_divisor_function [2015/04/25 18:49] nikolaj |
least_divisor_function [2015/04/25 19:25] nikolaj |
||
---|---|---|---|
Line 7: | Line 7: | ||
----- | ----- | ||
=== Code === | === Code === | ||
+ | == Haskell == | ||
<code haskell> | <code haskell> | ||
divides :: Integral a => a -> a -> Bool | divides :: Integral a => a -> a -> Bool | ||
Line 22: | Line 23: | ||
</code> | </code> | ||
- | [[Set of divisors function]]: | + | using [[Set of divisors function]]: |
<code haskell> | <code haskell> | ||
divides :: Integral a => a -> a -> Bool | divides :: Integral a => a -> a -> Bool |