hey anyone got any fancy work arounds kotlin's lac...
# arrow-contributors
r
hey anyone got any fancy work arounds kotlin's lack of lower/upper bounds in generics? I basically want something like
Copy code
sealed abstract class  FingerTree<out A> {
  abstract fun <B >: A> append(a: A): FingerTree<B>
where B is a super type of A I thought this might be a problem someone here has experienced already but can't find anything in the code base. BTW, this is an arrow related question as hopefully want to submit this as a PR when ready 🙂
j
?