MasseGuillaume / ScalaKata

Moved
https://github.com/MasseGuillaume/ScalaKata2
121 stars 3 forks source link

Insert completion like insert type #64

Open MasseGuillaume opened 9 years ago

MasseGuillaume commented 9 years ago

Just like insert type but from the completion results

import scalaz._
import syntax.tree._
Tree.unfoldTree<completion> // contains unfoldTree[A,  B](v: A)(f: (A => (B, () => Stream[A])): scalaz.Tree[B]

workaround

def a[A, B]<type at> = Tree.unfoldTree[A, B] _ // A => ((A => (B, () => Stream[A])) => scalaz.Tree[B])