src/HOLCF/IOA/ABP/Packet.thy
author wenzelm
Mon, 09 Mar 2009 11:56:34 +0100
changeset 30381 a59d792d0ccf
parent 25131 2c8caac48ade
child 35174 e15040ae75d7
permissions -rw-r--r--
refined antiquotation interface: formally pass result context and (potential) result source; removed redundant raw_antiquotation;

(*  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