<div dir="ltr">How about vector-th-unbox[1]?<div><br></div><div>[1] <a href="https://www.stackage.org/package/vector-th-unbox">https://www.stackage.org/package/vector-th-unbox</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 12, 2015 at 2:53 PM, Alberto G. Corona <span dir="ltr"><<a href="mailto:agocorona@gmail.com" target="_blank">agocorona@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There are no examples. It is hard to guess the functionality and the maturity of he approach.</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-11-12 18:56 GMT+01:00 David Kraeutmann <span dir="ltr"><<a href="mailto:kane@kane.cx" target="_blank">kane@kane.cx</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This might be of interest to you:<br>
<a href="https://hackage.haskell.org/package/structs" rel="noreferrer" target="_blank">https://hackage.haskell.org/package/structs</a><br>
<span><br>
<br>
On 11/12/2015 6:49 PM, Alberto G. Corona wrote:<br>
> Looking at this:<br>
><br>
> <a href="https://downloads.haskell.org/~ghc/6.12.3/docs/html/users_guide/primitives.html" rel="noreferrer" target="_blank">https://downloads.haskell.org/~ghc/6.12.3/docs/html/users_guide/primitives.html</a><br>
><br>
> It seems that it is impossible to manage data in Haskell within a core<br>
> without L1 cache faults. Except for unboxed arrays of primitive types.<br>
><br>
> Since it is impossible to have unboxed arrays of user-defined types.<br>
><br>
> Am I right?<br>
><br>
> This is definitively very bad for tasks that are inherently single threaded<br>
> and in general for the image of Haskell as a practical language.<br>
><br>
> I have more to say about that, but I would like to know first if I´m right<br>
> and second If there is some idea to going on to permit user defined boxed<br>
> datatypes.  Or if there is some low level trick for having it using foreign<br>
> call and unsafeCoerce in some way,<br>
><br>
> I know that the language ATS has unboxing a la carte....<br>
><br>
><br>
><br>
</span>> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
><br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Alberto.</div>
</font></span></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>