aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/function.gleam51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/gleam/function.gleam b/src/gleam/function.gleam
index ee472d8..432fb39 100644
--- a/src/gleam/function.gleam
+++ b/src/gleam/function.gleam
@@ -114,54 +114,3 @@ pub fn apply2(fun: fn(a, b) -> value, arg1: a, arg2: b) -> value {
pub fn apply3(fun: fn(a, b, c) -> value, arg1: a, arg2: b, arg3: c) -> value {
fun(arg1, arg2, arg3)
}
-
-/// Takes a function with arity four and four arguments,
-/// calls that function with the arguments
-/// and returns the function return value.
-///
-/// See `apply1` for more details
-///
-pub fn apply4(
- fun: fn(a, b, c, d) -> value,
- arg1: a,
- arg2: b,
- arg3: c,
- arg4: d,
-) -> value {
- fun(arg1, arg2, arg3, arg4)
-}
-
-/// Takes a function with arity five and five arguments,
-/// calls that function with the arguments
-/// and returns the function return value.
-///
-/// See `apply1` for more details
-///
-pub fn apply5(
- fun: fn(a, b, c, d, e) -> value,
- arg1: a,
- arg2: b,
- arg3: c,
- arg4: d,
- arg5: e,
-) -> value {
- fun(arg1, arg2, arg3, arg4, arg5)
-}
-
-/// Takes a function with arity six and six arguments,
-/// calls that function with the arguments
-/// and returns the function return value.
-///
-/// See `apply1` for more details
-///
-pub fn apply6(
- fun: fn(a, b, c, d, e, f) -> value,
- arg1: a,
- arg2: b,
- arg3: c,
- arg4: d,
- arg5: e,
- arg6: f,
-) -> value {
- fun(arg1, arg2, arg3, arg4, arg5, arg6)
-}