04-02-2015, 06:26 AM
As you shared the code here...
Don't you think it's a good idea to have a "guard" option: _ ->
Just in case at some point in the future someone call the function with a wrong value into OpenOrClosed0?
Don't you think it's a good idea to have a "guard" option: _ ->
Just in case at some point in the future someone call the function with a wrong value into OpenOrClosed0?