Skip to content

Commit 368cce6

Browse files
authored
Merge pull request #35 from ThoughtWorksInc/factory456
Add Factory4, Factory5, and Factory6
2 parents 8643d6e + 3536c0c commit 368cce6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Factory/src/main/scala/com/thoughtworks/feature/Factory.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,12 @@ object Factory extends LowPriorityFactory {
206206
type Factory2[-Parameter0, -Parameter1, Output] = Lt[Output, (Parameter0, Parameter1) => Output]
207207
type Factory3[-Parameter0, -Parameter1, -Parameter2, Output] =
208208
Lt[Output, (Parameter0, Parameter1, Parameter2) => Output]
209+
type Factory4[-Parameter0, -Parameter1, -Parameter2, -Parameter3, Output] =
210+
Lt[Output, (Parameter0, Parameter1, Parameter2, Parameter3) => Output]
211+
type Factory5[-Parameter0, -Parameter1, -Parameter2, -Parameter3, -Parameter4, Output] =
212+
Lt[Output, (Parameter0, Parameter1, Parameter2, Parameter3, Parameter4) => Output]
213+
type Factory6[-Parameter0, -Parameter1, -Parameter2, -Parameter3, -Parameter4, -Parameter5, Output] =
214+
Lt[Output, (Parameter0, Parameter1, Parameter2, Parameter3, Parameter4, Parameter5) => Output]
209215

210216
def make[Output, Constructor0](constructor: Constructor0): Factory.Aux[Output, Constructor0] = new Factory[Output] {
211217
type Constructor = Constructor0

0 commit comments

Comments
 (0)