Closed
Description
Sometimes, a function needs to have an argument that it doesn't use (for example, if it's passed to foldl
or another higher-order function). In this case, it would be good to have a naming convention for unused arguments that would suppress the "unused variable" warning on a case-by-case basis. One example is "begin the name with an _
". So fn (_x:int) {}
wouldn't generate any warnings.