src/HOLCF/IOA/NTP/Packet.thy
author wenzelm
Mon, 25 May 1998 21:12:46 +0200
changeset 4958 ad2acb8d2db4
parent 3073 88366253a09a
child 10212 33fe2d701ddd
permissions -rw-r--r--
added catch: ('a -> 'b) -> 'a -> 'b; tuned source(');

(*  Title:      HOL/IOA/NTP/Packet.thy
    ID:         $Id$
    Author:     Tobias Nipkow & Konrad Slind
    Copyright   1994  TU Muenchen

Packets
*)

Packet = Arith + Multiset +  

types

   'msg packet = "bool * 'msg"

constdefs

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

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

end