aboutsummaryrefslogtreecommitdiff
path: root/gen/src
diff options
context:
space:
mode:
Diffstat (limited to 'gen/src')
-rw-r--r--gen/src/gleam@function.erl (renamed from gen/src/gleam@generic.erl)10
1 files changed, 5 insertions, 5 deletions
diff --git a/gen/src/gleam@generic.erl b/gen/src/gleam@function.erl
index c616d93..f014d37 100644
--- a/gen/src/gleam@generic.erl
+++ b/gen/src/gleam@function.erl
@@ -1,10 +1,10 @@
--module(gleam@generic).
+-module(gleam@function).
-compile(no_auto_import).
--export([flip/1, compose/2]).
-
-flip(Fun) ->
- fun(B, A) -> Fun(A, B) end.
+-export([compose/2, flip/1]).
compose(Fun1, Fun2) ->
fun(A) -> Fun2(Fun1(A)) end.
+
+flip(Fun) ->
+ fun(B, A) -> Fun(A, B) end.