From d4744200aec280bf181c9c9b967a1c2062ce6fe1 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Thu, 22 Oct 2015 12:51:26 -0400 Subject: [PATCH] Rename the parameter to `transform`. --- prototype/Doubt/Free.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prototype/Doubt/Free.swift b/prototype/Doubt/Free.swift index 2cd8adbdd..dc959930e 100644 --- a/prototype/Doubt/Free.swift +++ b/prototype/Doubt/Free.swift @@ -118,8 +118,8 @@ public enum Free: CustomDebugStringConvertible, SyntaxConvertible { // MARK: - Anamorphism extension Free { - public func ana(f: Seed -> Syntax)(_ seed: Seed) -> Free { - return (Roll <<< { $0.map(self.ana(f)) } <<< f)(seed) + public func ana(transform: Seed -> Syntax)(_ seed: Seed) -> Free { + return (Roll <<< { $0.map(self.ana(transform)) } <<< transform)(seed) } }