
What happens if you change the signature of meanList to
meanList :: ( Fractional b) => [b] ->b
The integrals in [1,2,3] would be converted to [1.0, 2.0, 3.0] before you
act upon them.
On 22 Sep 2016 6:49 p.m., "Lai Boon Hui"
What happens if you change the signature of meanList to
meanList :: ( Fractional b) => [b] ->b
The integrals in [1,2,3] would be converted to [1.0, 2.0, 3.0] before you
act upon them.
On 22 Sep 2016 6:49 p.m., "Lai Boon Hui"