Tweak the FunctionType to properly parse #(x as ->|{}) -> and #(x as {}|->) -> and such oddities.