Set the arity of the SlalomFunction using IRModuleWriter