### Extend syntax

Posted:

**Wed Jun 11, 2014 12:25 pm**I'm trying to extend a List of decimal, but getting "Type parameter declaration must be an identifier not a type"

Can someone point me to the right syntax to use for this extension?

`extend List<of decimal>`

def max as decimal

m = decimal.minValue

for i in this

if i > m

m = i

return m

def min as decimal

m = decimal.maxValue

for i in this

if i < m

m = i

return m

Can someone point me to the right syntax to use for this extension?