aboutsummaryrefslogtreecommitdiff
path: root/src/curry.zig
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2025-10-28 20:02:47 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2025-10-28 20:02:47 -0500
commit99c32737fe07bf7dc6094a1326be418ffd00e36f (patch)
treebc8549038f85586ef4b9724f51ab850193f36d68 /src/curry.zig
parent96e8c19ebdc7c168a1bd243ce1793b2df1480939 (diff)
downloadfuncz-99c32737fe07bf7dc6094a1326be418ffd00e36f.tar.gz
filter implemented
Diffstat (limited to 'src/curry.zig')
-rw-r--r--src/curry.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/curry.zig b/src/curry.zig
index d196155..73976c2 100644
--- a/src/curry.zig
+++ b/src/curry.zig
@@ -7,7 +7,6 @@ const std = @import("std");
/// Type signature: (a -> b -> ... -> n -> r) -> a -> b -> ... -> n -> r
/// Transforms a function taking multiple arguments into a sequence of functions each taking a single argument
/// `func` is a function of type `(a, b, ..., n) -> r`
-/// Haskell equivalent: automatic currying (all functions are curried by default)
pub fn curry(func: anytype) curryTypeGetter(@TypeOf(func), @TypeOf(func), .{}) {
return curryHelper(func, .{});
}