Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 70ec89744a04da80369b4702b2c37256 > files > 251

ghc-doc-6.10.4-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Foreign.Storable</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_Foreign-Storable.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
>base-4.1.0.0: Basic libraries</TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>Foreign.Storable</FONT
></TD
><TD ALIGN="right"
><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="infohead"
>Portability</TD
><TD CLASS="infoval"
>portable</TD
></TR
><TR
><TD CLASS="infohead"
>Stability</TD
><TD CLASS="infoval"
>provisional</TD
></TR
><TR
><TD CLASS="infohead"
>Maintainer</TD
><TD CLASS="infoval"
>ffi@haskell.org</TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
>The module <A HREF="Foreign-Storable.html"
>Foreign.Storable</A
> provides most elementary support for
 marshalling and is part of the language-independent portion of the
 Foreign Function Interface (FFI), and will normally be imported via
 the <A HREF="Foreign.html"
>Foreign</A
> module.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
>  <A HREF="#t%3AStorable"
>Storable</A
> a  <SPAN CLASS="keyword"
>where</SPAN
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="#v%3AsizeOf"
>sizeOf</A
> :: a -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aalignment"
>alignment</A
> :: a -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3ApeekElemOff"
>peekElemOff</A
> :: <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> a -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
> -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> a</TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3ApokeElemOff"
>pokeElemOff</A
> :: <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> a -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
> -&gt; a -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> <A HREF="../ghc-prim/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3ApeekByteOff"
>peekByteOff</A
> ::  <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> b -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
> -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> a</TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3ApokeByteOff"
>pokeByteOff</A
> ::  <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> b -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
> -&gt; a -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> <A HREF="../ghc-prim/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Apeek"
>peek</A
> :: <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> a -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> a</TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Apoke"
>poke</A
> :: <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> a -&gt; a -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> <A HREF="../ghc-prim/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Documentation</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
>  <A NAME="t:Storable"
><A NAME="t%3AStorable"
></A
></A
><B
>Storable</B
> a  <SPAN CLASS="keyword"
>where</SPAN
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
><P
>The member functions of this class facilitate writing values of
primitive types to raw memory (which may have been allocated with the
above mentioned routines) and reading values from blocks of raw
memory.  The class, furthermore, includes support for computing the
storage requirements and alignment restrictions of storable types.
</P
><P
>Memory addresses are represented as values of type <TT
><TT
><A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
></TT
> a</TT
>, for some
<TT
>a</TT
> which is an instance of class <TT
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
></TT
>.  The type argument to
<TT
><A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
></TT
> helps provide some valuable type safety in FFI code (you can't
mix pointers of different types without an explicit cast), while
helping the Haskell type system figure out which marshalling method is
needed for a given pointer.
</P
><P
>All marshalling between Haskell and a foreign language ultimately
boils down to translating Haskell data structures into the binary
representation of a corresponding data structure of the foreign
language and vice versa.  To code this marshalling in Haskell, it is
necessary to manipulate primitive data types stored in unstructured
memory blocks.  The class <TT
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
></TT
> facilitates this manipulation on
all types for which it is instantiated, which are the standard basic
types of Haskell, the fixed size <TT
>Int</TT
> types (<TT
><A HREF="Data-Int.html#t%3AInt8"
>Int8</A
></TT
>, <TT
><A HREF="Data-Int.html#t%3AInt16"
>Int16</A
></TT
>,
<TT
><A HREF="Data-Int.html#t%3AInt32"
>Int32</A
></TT
>, <TT
><A HREF="Data-Int.html#t%3AInt64"
>Int64</A
></TT
>), the fixed size <TT
>Word</TT
> types (<TT
><A HREF="Data-Word.html#t%3AWord8"
>Word8</A
></TT
>, <TT
><A HREF="Data-Word.html#t%3AWord16"
>Word16</A
></TT
>,
<TT
><A HREF="Data-Word.html#t%3AWord32"
>Word32</A
></TT
>, <TT
><A HREF="Data-Word.html#t%3AWord64"
>Word64</A
></TT
>), <TT
><A HREF="Foreign-StablePtr.html#t%3AStablePtr"
>StablePtr</A
></TT
>, all types from <A HREF="Foreign-C-Types.html"
>Foreign.C.Types</A
>,
as well as <TT
><A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
></TT
>.
</P
><P
>Minimal complete definition: <TT
><A HREF="Foreign-Storable.html#v%3AsizeOf"
>sizeOf</A
></TT
>, <TT
><A HREF="Foreign-Storable.html#v%3Aalignment"
>alignment</A
></TT
>, one of <TT
><A HREF="Foreign-Storable.html#v%3Apeek"
>peek</A
></TT
>,
<TT
><A HREF="Foreign-Storable.html#v%3ApeekElemOff"
>peekElemOff</A
></TT
> and <TT
><A HREF="Foreign-Storable.html#v%3ApeekByteOff"
>peekByteOff</A
></TT
>, and one of <TT
><A HREF="Foreign-Storable.html#v%3Apoke"
>poke</A
></TT
>, <TT
><A HREF="Foreign-Storable.html#v%3ApokeElemOff"
>pokeElemOff</A
></TT
> and
<TT
><A HREF="Foreign-Storable.html#v%3ApokeByteOff"
>pokeByteOff</A
></TT
>.
</P
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
>Methods</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A NAME="v:sizeOf"
><A NAME="v%3AsizeOf"
></A
></A
><B
>sizeOf</B
> :: a -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
></TD
></TR
><TR
><TD CLASS="doc"
>Computes the storage requirements (in bytes) of the argument.
 The value of the argument is not used.
</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:alignment"
><A NAME="v%3Aalignment"
></A
></A
><B
>alignment</B
> :: a -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
></TD
></TR
><TR
><TD CLASS="doc"
>Computes the alignment constraint of the argument.  An
 alignment constraint <TT
>x</TT
> is fulfilled by any address divisible
 by <TT
>x</TT
>.  The value of the argument is not used.
</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:peekElemOff"
><A NAME="v%3ApeekElemOff"
></A
></A
><B
>peekElemOff</B
> :: <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> a -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
> -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> a</TD
></TR
><TR
><TD CLASS="doc"
><P
>Read a value from a memory area regarded as an array
         of values of the same kind.  The first argument specifies
         the start address of the array and the second the index into
         the array (the first element of the array has index
         <TT
>0</TT
>).  The following equality holds,
</P
><PRE
> peekElemOff addr idx = IOExts.fixIO $ \result -&gt;
   peek (addr `plusPtr` (idx * sizeOf result))
</PRE
><P
>Note that this is only a specification, not
         necessarily the concrete implementation of the
         function.
</P
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:pokeElemOff"
><A NAME="v%3ApokeElemOff"
></A
></A
><B
>pokeElemOff</B
> :: <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> a -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
> -&gt; a -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> <A HREF="../ghc-prim/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Write a value to a memory area regarded as an array of
         values of the same kind.  The following equality holds:
</P
><PRE
> pokeElemOff addr idx x = 
   poke (addr `plusPtr` (idx * sizeOf x)) x
</PRE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:peekByteOff"
><A NAME="v%3ApeekByteOff"
></A
></A
><B
>peekByteOff</B
> ::  <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> b -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
> -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> a</TD
></TR
><TR
><TD CLASS="doc"
><P
>Read a value from a memory location given by a base
         address and offset.  The following equality holds:
</P
><PRE
> peekByteOff addr off = peek (addr `plusPtr` off)
</PRE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:pokeByteOff"
><A NAME="v%3ApokeByteOff"
></A
></A
><B
>pokeByteOff</B
> ::  <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> b -&gt; <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
> -&gt; a -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> <A HREF="../ghc-prim/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Write a value to a memory location given by a base
         address and offset.  The following equality holds:
</P
><PRE
> pokeByteOff addr off x = poke (addr `plusPtr` off) x
</PRE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:peek"
><A NAME="v%3Apeek"
></A
></A
><B
>peek</B
> :: <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> a -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> a</TD
></TR
><TR
><TD CLASS="doc"
><P
>Read a value from the given memory location.
</P
><P
>Note that the peek and poke functions might require properly
  aligned addresses to function correctly.  This is architecture
  dependent; thus, portable code should ensure that when peeking or
  poking values of some type <TT
>a</TT
>, the alignment
  constraint for <TT
>a</TT
>, as given by the function
  <TT
><A HREF="Foreign-Storable.html#v%3Aalignment"
>alignment</A
></TT
> is fulfilled.
</P
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:poke"
><A NAME="v%3Apoke"
></A
></A
><B
>poke</B
> :: <A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> a -&gt; a -&gt; <A HREF="System-IO.html#t%3AIO"
>IO</A
> <A HREF="../ghc-prim/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="doc"
>Write the given value to the given memory location.  Alignment
 restrictions might apply; see <TT
><A HREF="Foreign-Storable.html#v%3Apeek"
>peek</A
></TT
>.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Storable')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:Storable" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="../ghc-prim/GHC-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="../ghc-prim/GHC-Types.html#t%3AChar"
>Char</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="../ghc-prim/GHC-Types.html#t%3ADouble"
>Double</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="../ghc-prim/GHC-Types.html#t%3AFloat"
>Float</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="../ghc-prim/GHC-Types.html#t%3AInt"
>Int</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Data-Int.html#t%3AInt8"
>Int8</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Data-Int.html#t%3AInt16"
>Int16</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Data-Int.html#t%3AInt32"
>Int32</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Data-Int.html#t%3AInt64"
>Int64</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Data-Word.html#t%3AWord"
>Word</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Data-Word.html#t%3AWord8"
>Word8</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Data-Word.html#t%3AWord16"
>Word16</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Data-Word.html#t%3AWord32"
>Word32</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Data-Word.html#t%3AWord64"
>Word64</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACUIntMax"
>CUIntMax</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACIntMax"
>CIntMax</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACUIntPtr"
>CUIntPtr</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACIntPtr"
>CIntPtr</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACTime"
>CTime</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACClock"
>CClock</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACSigAtomic"
>CSigAtomic</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACWchar"
>CWchar</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACSize"
>CSize</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACPtrdiff"
>CPtrdiff</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACLDouble"
>CLDouble</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACDouble"
>CDouble</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACFloat"
>CFloat</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACULLong"
>CULLong</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACLLong"
>CLLong</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACULong"
>CULong</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACLong"
>CLong</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACUInt"
>CUInt</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACInt"
>CInt</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACUShort"
>CUShort</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACShort"
>CShort</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACUChar"
>CUChar</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACSChar"
>CSChar</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-C-Types.html#t%3ACChar"
>CChar</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-Ptr.html#t%3AIntPtr"
>IntPtr</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="Foreign-Ptr.html#t%3AWordPtr"
>WordPtr</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3AFd"
>Fd</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACRLim"
>CRLim</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACTcflag"
>CTcflag</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACSpeed"
>CSpeed</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACCc"
>CCc</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACUid"
>CUid</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACNlink"
>CNlink</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACGid"
>CGid</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACSsize"
>CSsize</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACPid"
>CPid</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACOff"
>COff</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACMode"
>CMode</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACIno"
>CIno</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> <A HREF="System-Posix-Types.html#t%3ACDev"
>CDev</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> (<A HREF="Foreign-StablePtr.html#t%3AStablePtr"
>StablePtr</A
> a)</TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> (<A HREF="Foreign-Ptr.html#t%3APtr"
>Ptr</A
> a)</TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Foreign-Storable.html#t%3AStorable"
>Storable</A
> (<A HREF="Foreign-Ptr.html#t%3AFunPtr"
>FunPtr</A
> a)</TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.4.2</TD
></TR
></TABLE
></BODY
></HTML
>