adding support for function definitions in implicit maps

gh-80