diff --git a/README.md b/README.md index cc8624154..6e43c1d14 100644 --- a/README.md +++ b/README.md @@ -137,6 +137,8 @@ match list { List.nil: None } +// If we don't provide field bindings, it will implicitly use +// the fields of the declared data type match list { List.cons: (Some list.head) List.nil: None