Sha256: bedb702bfc7342d05ec7f1d90dcb71c43b477ac37cab9f91f09cf03a105c3c75
Contents?: true
Size: 437 Bytes
Versions: 271
Compression:
Stored size: 437 Bytes
Contents
module Triplet (isPythagorean, mkTriplet, pythagoreanTriplets) where isPythagorean :: (Int, Int, Int) -> Bool isPythagorean triplet = error "You need to implement this function." mkTriplet :: Int -> Int -> Int -> (Int, Int, Int) mkTriplet a b c = error "You need to implement this function." pythagoreanTriplets :: Int -> Int -> [(Int, Int, Int)] pythagoreanTriplets minFactor maxFactor = error "You need to implement this function."
Version data entries
271 entries across 271 versions & 1 rubygems