Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- implicit val stringToStrings = new ToAst[String] {
- type TypeMember = Strings
- }
- implicit def toFunctional[T](seq: Sequence[T])(implicit ast: ToAst[T]) = new ToFunctional[T, ast.TypeMember, Typed](seq)
- // trying to rewrite to
- implicit val stringToStrings = new ToAst[String,Strings]
- implicit def toFunctional[T](seq: Sequence[T])(implicit ast: ToAst[T,Ast]) = new ToFunctional[T, Ast, Typed](seq)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement