Stream: Beginner Questions

Topic: Record update syntax


view this post on Zulip Gergely Buday (Apr 18 2023 at 15:03):

Is there a record update syntax for this kind of tuples?

datatype state = Data (numbers: "int list") (clock: nat)

view this post on Zulip Gergely Buday (Apr 20 2023 at 07:56):

The file src/HOL/ex/Datatype_Record_Examples.thy introduces this. One needs a manual setup for this, though, it is written in the file.


Last updated: Feb 27 2024 at 08:17 UTC