Finding a customer's gender
match name = Unchecked.defaultof&lt;NameTable&gt; with
| false -&gt; …
| _ -&gt; …


If you're checking whether a condition is true, you should use if, not pattern matching. It's simpler and clearer.



0 |&gt; ignore


Instead of this, you can write the unit value: ().