diff options
author | inoas <mail@inoas.com> | 2022-04-05 12:07:54 +0200 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2022-04-06 10:58:14 +0100 |
commit | 46454eea3b3781b0e5bc93535428464047df3edb (patch) | |
tree | c57cc1460c4457b089aee197a1d34f14aafedbf4 /src | |
parent | 09af0bb63a55e2e401687b354f380bf26982a01a (diff) | |
download | gleam_stdlib-46454eea3b3781b0e5bc93535428464047df3edb.tar.gz gleam_stdlib-46454eea3b3781b0e5bc93535428464047df3edb.zip |
ran gleam format, added change log entry
Diffstat (limited to 'src')
-rw-r--r-- | src/gleam/function.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/function.gleam b/src/gleam/function.gleam index 1ee8d9c..cda59fc 100644 --- a/src/gleam/function.gleam +++ b/src/gleam/function.gleam @@ -63,7 +63,7 @@ pub fn constant(value: a) -> fn(b) -> a { /// calls that function with that argument /// and returns that argument instead of the function return value. /// Useful for running synchronous side effects in a pipeline. -pub fn tap (arg: a, effect: fn (a) -> b) -> a { +pub fn tap(arg: a, effect: fn(a) -> b) -> a { effect(arg) arg } |