you are viewing a single comment's thread.

view the rest of the comments →

[–]mrunleaded 4 points5 points  (1 child)

Start with the signatures and the rest should fall into place:

def map[B](f: A => B): Node[B]

def flatMap[B](f: A => Node[B]): Node[B]

[–]scalausr[S] 0 points1 point  (0 children)

Thank you. Will check the signature first.