Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (27 sloc) 871 Bytes
%% %CopyrightBegin%
%% Copyright Ericsson AB 2013. All Rights Reserved.
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
%% compliance with the License. You should have received a copy of the
%% Erlang Public License along with this software. If not, it can be
%% retrieved online at
%% Software distributed under the License is distributed on an "AS IS"
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
%% the License for the specific language governing rights and limitations
%% under the License.
%% %CopyrightEnd%
-module(fun_in_pmod, [X]).
add_fun() ->
fun(N) -> X + N end.
get_fun() ->
fun get1/0.
get1() ->