blob: 1cdb7931ca61e301d8305539315a19725fd0b510 (
plain) (
tree)
|
|
bug550.scala:6: error: type List takes type parameters
def sum[a](xs: List)(implicit m: Monoid[a]): a =
^
bug550.scala:8: error: no implicit argument matching parameter type Monoid[a] was found.
sum(List(1,2,3))
^
two errors found
|