tevjef
12/10/2018, 7:41 PMfun a(): Unit
== fun a()
but this doesn't:
fun b(G: Unit)
!= fun b()
ian.shaun.thomas
12/10/2018, 7:42 PMb()
in the right hand unless you're making another point.Nikky
02/09/2019, 6:14 AMUnit
when left out, but arguments of type Unit
do not behave that way, oterwise you would have a ininite number of functions with any number of Unit parameters be equivalent to a single function, silly
apart fro mthat its quite useless as a value to pass since there is just a single Unit, its like passing void..