From 948371ac8d86f378834e606bb0804156aa6ed210 Mon Sep 17 00:00:00 2001 From: ryndubei <114586905+ryndubei@users.noreply.github.com> Date: Fri, 11 Aug 2023 14:26:30 +0100 Subject: [PATCH] Remove mention of `root-classes` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b66d2a..97edc3b 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ in the Dhall project). | Name | Default value | Description | | ---------------- | ------------------------------------ | --- | | roots | `[ "Main.main", "^Paths_weeder.*" ]` | Any declarations matching these regular expressions will be considered as alive. | -| type-class-roots | `false` | Consider all instances of type classes as roots. Overrides `root-classes` and `root-instances`. | +| type-class-roots | `false` | Consider all instances of type classes as roots. Overrides `root-instances`. | | root-instances | `[ {class = '\.IsString$'}, {class = '\.IsList$'} ]` | Type class instances that match on all specified fields will be considered as roots. Accepts the fields `instance` matching on the pretty-printed type of the instance (visible in the output), `class` matching on its parent class declaration, and `module` matching on the module the instance is in. | | unused-types | `false` | Enable analysis of unused types. |