Fix funcsigs

Addressing #42 

- `tag(v) = 'function'` is added to all function types 

- fixes with conditional expression