Title: Select expressions which bind variables
Goal: Generalize the function `f/1' by selecting the expressions `M = N*2, M', the new parameter is `F'.
Parameters: [{file,"gen10.erl"},{posrange,{51,62}},{varname,"F"}].
Documentation: The selection contains variables (`N', `M'), so a new fun expression is created and added to every call of the function. The variables used, but are not bound in the selection becomes the parameters of the fun-expression. The bound variable `M' does not introduce a name conflict in the scope of the function call. There is not any variable with the name `F', so it is possible to introduce a new pattern and replace the expressions `M = N*2, M' with an application. The name of the application is the new variable name and the arguments of the application are the used, but are not bound variables in the selected part.
