wiro icon indicating copy to clipboard operation
wiro copied to clipboard

Add paternalistic default to option parameters to None if the user didn't specify one

Open calippo opened this issue 7 years ago • 0 comments

requirements

  • Add paternalistic default to option parameters to None if the user didn't specify one

specs

given:

wa: Option[Int]

convert it to:

wa: Option[Int] = None

misc

We spent some time trying to solve https://github.com/buildo/wiro/issues/32 while it was not a real bug. That's why we decided to go with a paternalistic default.

calippo avatar Apr 27 '17 09:04 calippo