Delete function

Deletes a function from the workspace.