Enable functions as a patterns (with compiling)