module Toy where {-@ sumPoly :: forall
Bool>. (Num a, Ord a) => [a
] -> a
@-} sumPoly :: (Num a, Ord a) => [a] -> a sumPoly (x:xs) = foldl (+) x xs