kmcallister / spool Goto Github PK
View Code? Open in Web Editor NEWConvert between ByteString and Vector.Storable without copying
Home Page: http://hackage.haskell.org/package/spool
License: Other
Convert between ByteString and Vector.Storable without copying
Home Page: http://hackage.haskell.org/package/spool
License: Other
spool provides conversion between ByteString and Vector.Storable without copying the underlying data. Documentation is hosted at http://hackage.haskell.org/package/spool To build the documentation yourself, run $ cabal configure && cabal haddock --hyperlink-source This will produce HTML documentation under dist/doc/html/spool.
Hi,
I see you have a test
directory. Please consider turning it into a proper Cabal test, so that users can easily verify that spool
still works as intended with the given versions of bytestring
and vector
.
Thanks,
Joachim
Are you sure you want to stick with spool
?
Before I asked http://stackoverflow.com/questions/18682527/how-to-convert-between-bytestring-and-storable-vector I looked on hackage but didn't find it; maybe a different name might help?
bytestring-to-vector
or similar might be a more descriptive name.
scale = (
div sizeOfElem vec)
- looks like you can use quot
here to make it slightly faster.
Hi,
iโm starting to use your package in a project that is included on stackage. I believe this will pull spool
into stackage as well, but it would make more sense if you, as the maintainer, do that on your own and independent of whether I happen to use your project.
It is easy for you to do: http://www.stackage.org/authors
Together with #3, this would ensure that you get notified if spool
breaks before your users noticed!
Before doing so, I suggest though to change the name to something more descriptive (see #2).
Thanks,
Joachim
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.