src/HOLCF/IOA/ABP/Packet.thy
author wenzelm
Thu, 26 Feb 2009 22:13:01 +0100
changeset 30127 cd3f37ba3e25
parent 25131 2c8caac48ade
child 35174 e15040ae75d7
permissions -rw-r--r--
merged

(*  Title:      HOLCF/IOA/ABP/Packet.thy
    ID:         $Id$
    Author:     Olaf Müller
*)

header {* Packets *}

theory Packet
imports Main
begin

types
  'msg packet = "bool * 'msg"

definition
  hdr :: "'msg packet => bool" where
  "hdr = fst"

definition
  msg :: "'msg packet => 'msg" where
  "msg = snd"

end