Typesafing Recursion Through Generics?

后端 未结 0 778
暖寄归人
暖寄归人 2021-01-30 07:46

I\'m trying to find a way to typesafe a recursion (which returns a number by the end) using generics.

What I tried:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题