-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9fc51e1
Showing
2,349 changed files
with
985,408 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cardano-api.cardano.intersectmbo.org |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>Data.Array.Storable.Internals</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">array-0.5.6.0: Mutable and immutable arrays</span><ul class="links" id="page-menu"><li><a href="src/Data.Array.Storable.Internals.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) The University of Glasgow 2011</td></tr><tr><th>License</th><td>BSD-style (see the file libraries/base/LICENSE)</td></tr><tr><th>Maintainer</th><td>libraries@haskell.org</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>non-portable (uses Data.Array.MArray)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Data.Array.Storable.Internals</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Actual implementation of <a href="Data-Array-Storable.html">Data.Array.Storable</a>.</p><h1>WARNING</h1><p>This module is considered <strong>internal</strong>.</p><p>The Package Versioning Policy <strong>does not apply</strong>.</p><p>The contents of this module may change <strong>in any way whatsoever</strong> | ||
and <strong>without any warning</strong> between minor versions of this package.</p><p>Authors importing this module are expected to track development | ||
closely.</p><p><em>Since: array-0.4.0.0</em></p></div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><span class="keyword">data</span> <a href="#t:StorableArray">StorableArray</a> i e = <a href="#v:StorableArray">StorableArray</a> !i !i <a href="../base-4.19.1.0-inplace/Data-Int.html#t:Int" title="Data.Int">Int</a> !(<a href="../base-4.19.1.0-inplace/Foreign-ForeignPtr-Safe.html#t:ForeignPtr" title="Foreign.ForeignPtr.Safe">ForeignPtr</a> e)</li><li class="src short"><a href="#v:withStorableArray">withStorableArray</a> :: <a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e -> (<a href="../base-4.19.1.0-inplace/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> e -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> a) -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> a</li><li class="src short"><a href="#v:touchStorableArray">touchStorableArray</a> :: <a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> ()</li><li class="src short"><a href="#v:unsafeForeignPtrToStorableArray">unsafeForeignPtrToStorableArray</a> :: <a href="../base-4.19.1.0-inplace/Data-Ix.html#t:Ix" title="Data.Ix">Ix</a> i => <a href="../base-4.19.1.0-inplace/Foreign-ForeignPtr-Safe.html#t:ForeignPtr" title="Foreign.ForeignPtr.Safe">ForeignPtr</a> e -> (i, i) -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e)</li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:StorableArray" class="def">StorableArray</a> i e <a href="src/Data.Array.Storable.Internals.html#StorableArray" class="link">Source</a> <a href="#t:StorableArray" class="selflink">#</a></p><div class="doc"><p>The array type</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:StorableArray" class="def">StorableArray</a> !i !i <a href="../base-4.19.1.0-inplace/Data-Int.html#t:Int" title="Data.Int">Int</a> !(<a href="../base-4.19.1.0-inplace/Foreign-ForeignPtr-Safe.html#t:ForeignPtr" title="Foreign.ForeignPtr.Safe">ForeignPtr</a> e)</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:StorableArray">Instances</h4><details id="i:StorableArray" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:StorableArray:MArray:1"></span> <a href="../base-4.19.1.0-inplace/Foreign-Storable.html#t:Storable" title="Foreign.Storable">Storable</a> e => <a href="Data-Array-MArray.html#t:MArray" title="Data.Array.MArray">MArray</a> <a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> e <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a></span> <a href="src/Data.Array.Storable.Internals.html#line-46" class="link">Source</a> <a href="#t:StorableArray" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:id:StorableArray:MArray:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="Data-Array-Storable-Internals.html">Data.Array.Storable.Internals</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:getBounds">getBounds</a> :: <a href="../base-4.19.1.0-inplace/Data-Ix.html#t:Ix" title="Data.Ix">Ix</a> i => <a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> (i, i) <a href="src/Data.Array.Base.html#getBounds" class="link">Source</a> <a href="#v:getBounds" class="selflink">#</a></p><p class="src"><a href="#v:getNumElements">getNumElements</a> :: <a href="../base-4.19.1.0-inplace/Data-Ix.html#t:Ix" title="Data.Ix">Ix</a> i => <a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base-4.19.1.0-inplace/Data-Int.html#t:Int" title="Data.Int">Int</a> <a href="src/Data.Array.Base.html#getNumElements" class="link">Source</a> <a href="#v:getNumElements" class="selflink">#</a></p><p class="src"><a href="#v:newArray">newArray</a> :: <a href="../base-4.19.1.0-inplace/Data-Ix.html#t:Ix" title="Data.Ix">Ix</a> i => (i, i) -> e -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e) <a href="src/Data.Array.Base.html#newArray" class="link">Source</a> <a href="#v:newArray" class="selflink">#</a></p><p class="src"><a href="#v:newArray_">newArray_</a> :: <a href="../base-4.19.1.0-inplace/Data-Ix.html#t:Ix" title="Data.Ix">Ix</a> i => (i, i) -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e) <a href="src/Data.Array.Base.html#newArray_" class="link">Source</a> <a href="#v:newArray_" class="selflink">#</a></p><p class="src"><a href="#v:unsafeNewArray_">unsafeNewArray_</a> :: <a href="../base-4.19.1.0-inplace/Data-Ix.html#t:Ix" title="Data.Ix">Ix</a> i => (i, i) -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e) <a href="src/Data.Array.Base.html#unsafeNewArray_" class="link">Source</a> <a href="#v:unsafeNewArray_" class="selflink">#</a></p><p class="src"><a href="#v:unsafeRead">unsafeRead</a> :: <a href="../base-4.19.1.0-inplace/Data-Ix.html#t:Ix" title="Data.Ix">Ix</a> i => <a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e -> <a href="../base-4.19.1.0-inplace/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> e <a href="src/Data.Array.Base.html#unsafeRead" class="link">Source</a> <a href="#v:unsafeRead" class="selflink">#</a></p><p class="src"><a href="#v:unsafeWrite">unsafeWrite</a> :: <a href="../base-4.19.1.0-inplace/Data-Ix.html#t:Ix" title="Data.Ix">Ix</a> i => <a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e -> <a href="../base-4.19.1.0-inplace/Data-Int.html#t:Int" title="Data.Int">Int</a> -> e -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Data.Array.Base.html#unsafeWrite" class="link">Source</a> <a href="#v:unsafeWrite" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><a id="v:withStorableArray" class="def">withStorableArray</a> :: <a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e -> (<a href="../base-4.19.1.0-inplace/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> e -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> a) -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/Data.Array.Storable.Internals.html#withStorableArray" class="link">Source</a> <a href="#v:withStorableArray" class="selflink">#</a></p><div class="doc"><p>The pointer to the array contents is obtained by <code><a href="Data-Array-Storable-Internals.html#v:withStorableArray" title="Data.Array.Storable.Internals">withStorableArray</a></code>. | ||
The idea is similar to <code><a href="../base-4.19.1.0-inplace/Foreign-ForeignPtr-Safe.html#t:ForeignPtr" title="Foreign.ForeignPtr.Safe">ForeignPtr</a></code> (used internally here). | ||
The pointer should be used only during execution of the <code><a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a></code> action | ||
retured by the function passed as argument to <code><a href="Data-Array-Storable-Internals.html#v:withStorableArray" title="Data.Array.Storable.Internals">withStorableArray</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:touchStorableArray" class="def">touchStorableArray</a> :: <a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Data.Array.Storable.Internals.html#touchStorableArray" class="link">Source</a> <a href="#v:touchStorableArray" class="selflink">#</a></p><div class="doc"><p>If you want to use it afterwards, ensure that you | ||
<code><a href="Data-Array-Storable-Internals.html#v:touchStorableArray" title="Data.Array.Storable.Internals">touchStorableArray</a></code> after the last use of the pointer, | ||
so the array is not freed too early.</p></div></div><div class="top"><p class="src"><a id="v:unsafeForeignPtrToStorableArray" class="def">unsafeForeignPtrToStorableArray</a> :: <a href="../base-4.19.1.0-inplace/Data-Ix.html#t:Ix" title="Data.Ix">Ix</a> i => <a href="../base-4.19.1.0-inplace/Foreign-ForeignPtr-Safe.html#t:ForeignPtr" title="Foreign.ForeignPtr.Safe">ForeignPtr</a> e -> (i, i) -> <a href="../base-4.19.1.0-inplace/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a> i e) <a href="src/Data.Array.Storable.Internals.html#unsafeForeignPtrToStorableArray" class="link">Source</a> <a href="#v:unsafeForeignPtrToStorableArray" class="selflink">#</a></p><div class="doc"><p>Construct a <code><a href="Data-Array-Storable-Internals.html#t:StorableArray" title="Data.Array.Storable.Internals">StorableArray</a></code> from an arbitrary <code><a href="../base-4.19.1.0-inplace/Foreign-ForeignPtr-Safe.html#t:ForeignPtr" title="Foreign.ForeignPtr.Safe">ForeignPtr</a></code>. It is | ||
the caller's responsibility to ensure that the <code><a href="../base-4.19.1.0-inplace/Foreign-ForeignPtr-Safe.html#t:ForeignPtr" title="Foreign.ForeignPtr.Safe">ForeignPtr</a></code> points to | ||
an area of memory sufficient for the specified bounds.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.30.0</p></div></body></html> |
Oops, something went wrong.