Changelog

type deducing

1
2
3
avg :: (Num a) => [a] -> Float    
avg xs = sum xs / 2