Skip to content

Commit 3adf852

Browse files
committed
Rename mapped to map
1 parent cb0b0d8 commit 3adf852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tool/Sources/LangChain/Chain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public extension Chain {
116116
ConnectedChain(chainA: self, chainB: another)
117117
}
118118

119-
func mapped<NewOutput>(_ map: @escaping (Output) -> NewOutput) -> MappedChain<Self, NewOutput> {
119+
func map<NewOutput>(_ map: @escaping (Output) -> NewOutput) -> MappedChain<Self, NewOutput> {
120120
MappedChain(chain: self, map: map)
121121
}
122122
}

0 commit comments

Comments
 (0)