src/HOLCF/IOA/ABP/Packet.thy
author haftmann
Wed, 06 May 2009 16:01:06 +0200
changeset 31048 ac146fc38b51
parent 25131 2c8caac48ade
child 35174 e15040ae75d7
permissions -rw-r--r--
refined HOL string theories and corresponding ML fragments

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