Title: Extracting a fun-expression into a function.
Goal: accept
Parameters: [{file,"mpt2.erl"},{posrange,{384,398}},{name,"id"}].
Documentation: If the selected subexpression is a fun-expression (here "fun(X) -> X end"), the function extracted will be a higher-order function returning the fun-expression. Turning a fun-expression into a function definition in the following way is supported by another refactoring: ``lifting function'' (not yet supported): the created function definition becomes ``id(X) -> X.'' and the expression containing the extracted subexpression becomes ``integrate(fun id/1, {0,1})''.
