Overloading functions with optional arguments

后端 未结 0 1141
不知归路
不知归路 2021-02-11 02:32

I would like to write a function which takes an optional argument, which may be of type FooType or of type BarType.

I have a module

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