Adding new parameters to tidal

And what did you expect? (Genuine question, I can't infer from your code).
What is a "supercollider generated code snippet"?

The type is

pF :: String -> Pattern Double -> ControlPattern

so the second argument must be a pattern (Nothing is not a pattern) and the result will be a pattern (but your code was expecting a pair)