# HG changeset patch # User wenzelm # Date 1727380546 -7200 # Node ID cf96b584724df6ff1fa0a2d9b1d13512c8f56db9 # Parent f74aecc6ef9c386da14c6f07328d955769f4944f proper 'no_syntax' declarations (amending 8e72f55295fd); diff -r f74aecc6ef9c -r cf96b584724d src/HOL/Library/Datatype_Records.thy --- a/src/HOL/Library/Datatype_Records.thy Thu Sep 26 11:41:51 2024 +0200 +++ b/src/HOL/Library/Datatype_Records.thy Thu Sep 26 21:55:46 2024 +0200 @@ -30,29 +30,29 @@ "_constify" :: "id => ident" (\_\) "_constify" :: "longid => ident" (\_\) - "_field_type" :: "ident => type => field_type" (\(2_ ::/ _)\) + "_field_type" :: "ident => type => field_type" (\(\indent=2 notation=\infix field type\\_ ::/ _)\) "" :: "field_type => field_types" (\_\) "_field_types" :: "field_type => field_types => field_types" (\_,/ _\) - "_record_type" :: "field_types => type" (\(3\_\)\) - "_record_type_scheme" :: "field_types => type => type" (\(3\_,/ (2\ ::/ _)\)\) + "_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\ ::/ _)\)\) - "_field" :: "ident => 'a => field" (\(2_ =/ _)\) + "_field" :: "ident => 'a => field" (\(\indent=2 notation=\infix field value\\_ =/ _)\) "" :: "field => fields" (\_\) "_fields" :: "field => fields => fields" (\_,/ _\) - "_record" :: "fields => 'a" (\(3\_\)\) - "_record_scheme" :: "fields => 'a => 'a" (\(3\_,/ (2\ =/ _)\)\) + "_record" :: "fields => 'a" (\(\indent=3 notation=\mixfix record value\\\_\)\) + "_record_scheme" :: "fields => 'a => 'a" (\(\indent=3 notation=\mixfix record value\\\_,/ (2\ =/ _)\)\) - "_field_update" :: "ident => 'a => field_update" (\(2_ :=/ _)\) + "_field_update" :: "ident => 'a => field_update" (\(\indent=2 notation=\infix field update\\_ :=/ _)\) "" :: "field_update => field_updates" (\_\) "_field_updates" :: "field_update => field_updates => field_updates" (\_,/ _\) - "_record_update" :: "'a => field_updates => 'b" (\_/(3\_\)\ [900, 0] 900) + "_record_update" :: "'a => field_updates => 'b" (\_/(\indent=3 notation=\mixfix record update\\\_\)\ [900, 0] 900) no_syntax (ASCII) - "_record_type" :: "field_types => type" (\(3'(| _ |'))\) - "_record_type_scheme" :: "field_types => type => type" (\(3'(| _,/ (2... ::/ _) |'))\) - "_record" :: "fields => 'a" (\(3'(| _ |'))\) - "_record_scheme" :: "fields => 'a => 'a" (\(3'(| _,/ (2... =/ _) |'))\) - "_record_update" :: "'a => field_updates => 'b" (\_/(3'(| _ |'))\ [900, 0] 900) + "_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" :: "fields => 'a" (\(\indent=3 notation=\mixfix record value\\'(| _ |'))\) + "_record_scheme" :: "fields => 'a => 'a" (\(\indent=3 notation=\mixfix record value\\'(| _,/ (2... =/ _) |'))\) + "_record_update" :: "'a => field_updates => 'b" (\_/(\indent=3 notation=\mixfix record update\\'(| _ |'))\ [900, 0] 900) (* copied and adapted from Record.thy *)