Skip to content

Commit

Permalink
Add missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry committed Apr 21, 2017
1 parent bf8ad9d commit d316350
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/scala/shapeless/poly.scala
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ trait Poly extends PolyApply with Serializable {
object Poly extends PolyInst {
implicit def inst0(p: Poly)(implicit cse : p.ProductCase[HNil]) : cse.Result = cse()

import PolyDefns._

final def bindFirst[Head](p: Poly, head: Head): BindFirst[p.type, Head] = new BindFirst[p.type, Head](head)

final def curried(p: Poly): Curried[p.type, HNil] = new Curried[p.type, HNil](HNil)
Expand Down

0 comments on commit d316350

Please # to comment.