# HG changeset patch # User wenzelm # Date 1728396876 -7200 # Node ID bad7156a7814e20304c461bb2b7104794d2f7997 # Parent 7dd81ffaac72e77d9215d993bd427e865b587571 more accurate no_syntax declarations, following ec121999a9cb; diff -r 7dd81ffaac72 -r bad7156a7814 src/HOL/Library/Datatype_Records.thy --- a/src/HOL/Library/Datatype_Records.thy Tue Oct 08 16:13:02 2024 +0200 +++ b/src/HOL/Library/Datatype_Records.thy Tue Oct 08 16:14:36 2024 +0200 @@ -34,13 +34,13 @@ "" :: "field_type => field_types" (\_\) "_field_types" :: "field_type => field_types => field_types" (\_,/ _\) "_record_type" :: "field_types => type" (\(\indent=3 notation=\mixfix record type\\\_\)\) - "_record_type_scheme" :: "field_types => type => type" (\(\indent=3 notation=\mixfix record type\\\_,/ (2\ ::/ _)\)\) + "_record_type_scheme" :: "field_types => type => type" (\(\indent=3 notation=\mixfix record type\\\_,/ (\indent=2 notation=\infix more type\\\ ::/ _)\)\) "_field" :: "ident => 'a => field" (\(\indent=2 notation=\infix field value\\_ =/ _)\) "" :: "field => fields" (\_\) "_fields" :: "field => fields => fields" (\_,/ _\) "_record" :: "fields => 'a" (\(\indent=3 notation=\mixfix record value\\\_\)\) - "_record_scheme" :: "fields => 'a => 'a" (\(\indent=3 notation=\mixfix record value\\\_,/ (2\ =/ _)\)\) + "_record_scheme" :: "fields => 'a => 'a" (\(\indent=3 notation=\mixfix record value\\\_,/ (\indent=2 notation=\infix more value\\\ =/ _)\)\) "_field_update" :: "ident => 'a => field_update" (\(\indent=2 notation=\infix field update\\_ :=/ _)\) "" :: "field_update => field_updates" (\_\) @@ -49,9 +49,9 @@ no_syntax (ASCII) "_record_type" :: "field_types => type" (\(\indent=3 notation=\mixfix record type\\'(| _ |'))\) - "_record_type_scheme" :: "field_types => type => type" (\(\indent=3 notation=\mixfix record type\\'(| _,/ (2... ::/ _) |'))\) + "_record_type_scheme" :: "field_types => type => type" (\(\indent=3 notation=\mixfix record type\\'(| _,/ (\indent=2 notation=\infix more type\\... ::/ _) |'))\) "_record" :: "fields => 'a" (\(\indent=3 notation=\mixfix record value\\'(| _ |'))\) - "_record_scheme" :: "fields => 'a => 'a" (\(\indent=3 notation=\mixfix record value\\'(| _,/ (2... =/ _) |'))\) + "_record_scheme" :: "fields => 'a => 'a" (\(\indent=3 notation=\mixfix record value\\'(| _,/ (\indent=2 notation=\infix more value\\... =/ _) |'))\) "_record_update" :: "'a => field_updates => 'b" (\_/(\indent=3 notation=\mixfix record update\\'(| _ |'))\ [900, 0] 900) (* copied and adapted from Record.thy *)