import Data.Char resource = plugin { function = myfun } myfun s = toUpper (head s) : reverse (tail s)