author | wenzelm |
Wed, 12 Apr 2023 12:57:10 +0200 | |
changeset 77839 | b2b985d8a93d |
parent 77838 | 29146fb57e79 |
child 77840 | 33d366e66061 |
--- a/src/Pure/General/name_space.ML Wed Apr 12 11:27:11 2023 +0200 +++ b/src/Pure/General/name_space.ML Wed Apr 12 12:57:10 2023 +0200 @@ -456,7 +456,7 @@ val restrict = is_some restriction ? filter (fn [_] => false | _ => true); val sfxs = restrict (mandatory_suffixes spec); val pfxs = restrict (mandatory_prefixes spec); - in apply2 (map Long_Name.implode) (sfxs @ pfxs, sfxs) end); + in apply2 (map Long_Name.implode o distinct op =) (sfxs @ pfxs, sfxs) end); end;