Skip to content

Commit

Permalink
8 and 9 arity for product
Browse files Browse the repository at this point in the history
  • Loading branch information
prange committed Jun 3, 2019
1 parent 71bb46a commit 8253572
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions niagara-data/src/main/kotlin/org/kantega/niagara/data/Product.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,29 @@ interface Product7<A,B,C,D,E,F,G>{
fun component6():F
fun component7():G
fun hList() = hList(component1(),component2(),component3(),component4(),component5(),component6(),component7())
}

interface Product8<A,B,C,D,E,F,G,H>{
fun component1():A
fun component2():B
fun component3():C
fun component4():D
fun component5():E
fun component6():F
fun component7():G
fun component8():H
fun hList() = hList(component1(),component2(),component3(),component4(),component5(),component6(),component7(),component8())
}

interface Product9<A,B,C,D,E,F,G,H,I>{
fun component1():A
fun component2():B
fun component3():C
fun component4():D
fun component5():E
fun component6():F
fun component7():G
fun component8():H
fun component9():I
fun hList() = hList(component1(),component2(),component3(),component4(),component5(),component6(),component7(),component8(),component9())
}

0 comments on commit 8253572

Please sign in to comment.