The vector package Build Status

An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework.

See vector on Hackage for more information.

Changes

Changes in version 0.12.0.1

* Make sure `length` can be inlined
* Include modules that test-suites depend on in other-modules

Changes in version 0.12.0.0

* Documentation fixes/additions
* New functions: createT, iscanl/r, iterateNM, unfoldrM, uniq
* New instances for various vector types: Semigroup, MonadZip
* Made `Storable` vectors respect memory alignment
* Changed some macros to ConstraintKinds
- Dropped compatibility with old GHCs to support this
* Add `Eq1`, `Ord1`, `Show1`, and `Read1` `Vector` instances, and related
helper functions.
* Relax context for `Unbox (Complex a)`.

Changes in version 0.11.0.0

* Define `Applicative` instances for `Data.Vector.Fusion.Util.{Box,Id}`
* Define non-bottom `fail` for `instance Monad Vector`
* New generalized stream fusion framework
* Various safety fixes
- Various overflows due to vector size have been eliminated
- Memory is initialized on creation of unboxed vectors
* Changes to SPEC usage to allow building under more conditions

Changes in version 0.10.12.3

* Allow building with `primtive-0.6`

Changes in version 0.10.12.2

* Add support for `deepseq-1.4.0.0`

Changes in version 0.10.12.1

* Fixed compilation on non-head GHCs

Changes in version 0.10.12.0

* Export MVector constructor from Data.Vector.Primitive to match Vector's
(which was already exported).

* Fix building on GHC 7.9 by adding Applicative instances for Id and Box

Changes in version 0.10.11.0

* Support OverloadedLists for boxed Vector in GHC >= 7.8

Changes in version 0.10.10.0

* Minor version bump to rectify PVP violation occured in 0.10.9.3 release

Changes in version 0.10.9.3 (deprecated)

* Add support for OverloadedLists in GHC >= 7.8

Changes in version 0.10.9.2

* Fix compilation with GHC 7.9

Changes in version 0.10.9.1

* Implement poly-kinded Typeable

Changes in version 0.10.0.1

* Require `primitive` to include workaround for a GHC array copying bug

Changes in version 0.10

* `NFData` instances
* More efficient block fills
* Safe Haskell support removed
Used by 1090 packages:
ADPfusion, ADPfusionSet, AesonBson, AlanDeniseEricLauren, AlignmentAlgorithms, ApproxFun-hs, BCMtools, BenchmarkHistory, BioHMM, Biobase, BiobaseInfernal, BiobaseNewick, BiobaseTrainingData, BiobaseTurner, BiobaseTypes, BiobaseVienna, BiobaseXNA, BitStringRandomMonad, CV, Chart, CirruParser, ClustalParser, Compactable, ConstraintKinds, ContextAlgebra, CoreFoundation, DPutils, DSH, Data-Hash-Consistent, Deadpan-DDP, DifferentialEvolution, DigitalOcean, DistanceTransform, DnaProteinAlignment, DynamicTimeWarp, EtaMOO, FastPush, FontyFruity, ForestStructures, FormalGrammars, FractalArt, Frames, GLUtil, GenussFold, GlomeView, Grow, H, HLearn-algebra, HLearn-approximation, HLearn-classification, HLearn-datastructures, HLearn-distributions, HMarkov, HPDF, HSGEP, HSmarty, HTF, Haggressive, HarmTrace, Hate, HiggsSet, Homology, JSON-Combinator, JsonGrammar, JuicyPixels, JuicyPixels-repa, JuicyPixels-util, LATS, LambdaHack, LambdaINet, LibClang, ListLike, MC-Fold-DP, MFlow, MailchimpSimple, MeanShift, MusicBrainz, MusicBrainz-libdiscid, MutationOrder, Neks, NestedSampling, NoSlow, Noise, Nussinov78, Obsidian, OnRmt, OrderedBits, Paraiso, Plot-ho-matic, PrimitiveArray, QLearn, QuadEdge, QuickPlot, RANSAC, RFC1751, RNAFold, RNAFoldProgs, RNAdesign, RNAdraw, RNAlien, RNAwolf, Rasterific, Referees, Rlang-QQ, SBench, SVGFonts, SelectSequencesFromMSA, SeqAlign, ShortestPathProblems, SimpleGL, Southpaw, Spock-worker, StatisticalMethods, StockholmAlignment, SuffixStructures, Sysmon, Taxonomy, TaxonomyTools, TrieMap, VKHS, WMSigner, WaveFront, Webrexp, WordAlignment, Workflow, abcBridge, abeson, abstract-par-accelerate, ac-machine, accelerate-cublas, accelerate-examples, accelerate-io, active, adict, aeson, aeson-better-errors, aeson-bson, aeson-compat, aeson-diff, aeson-extra, aeson-flat, aeson-lens, aeson-native, aeson-parsec-picky, aeson-prefix, aeson-pretty, aeson-qq, aeson-quick, aeson-schema, aeson-smart, aeson-t, aeson-value-parser, affine-invariant-ensemble-mcmc, aig, aivika, aivika-transformers, align, alloy, amby, amqp, analyze, anatomy, ansi-pretty, api-tools, approx-rand-test, approximate, arb-fft, arpack, array-forth, ascii-table, asciidiagram, atomic-primops-vector, atomo, audiovisual, autom, avers, avers-api, awesomium, aws, aws-ec2, aws-performance-tests, b-tree, b9, banwords, basic-prelude, bayes-stack, bimaps, binary-conduit, binary-orphans, binary-tagged, bindings-portaudio, biohazard, bioinformatics-toolkit, bit-vector, bitstream, bittorrent, bitvec, blakesum, blakesum-demo, blank-canvas, blaze-textual, blaze-textual-native, blink1, blockhash, bloodhound, bolt, boltzmann-samplers, bond-haskell, boolean-like, borel, bower-json, brick, buchhaltung, buffer-builder, buffer-builder-aeson, bugzilla, buildwrapper, call, call-haskell-from-anything, camfort, caramia, casadi-bindings, casadi-bindings-control, casadi-bindings-core, casadi-bindings-internal, casadi-bindings-ipopt-interface, casadi-bindings-snopt-interface, cassava, cassava-megaparsec, cassava-streams, cayley-client, cblrepo, cereal-plus, cereal-vector, chaselev-deque, chronos, chunked-data, cipher-blowfish, cipher-camellia, cirru-parser, clang-pure, clarifai, classy-influxdb-simple, classy-prelude, clckwrks, clifford, clustering, coinbase-exchange, colada, collada-output, collada-types, colonnade, color-counter, combobuffer, compactable, compactmap, compdata-dags, compensated, composite-aeson, computational-algebra, concraft, concrete-haskell, conduit-audio, conduit-audio-lame, conduit-audio-samplerate, conduit-combinators, configifier, consul-haskell, container, container-builder, convert-annotation, copilot-c99, couch-hs, couch-simple, couchdb-conduit, cplex-hs, cql, cql-io, crc, crf-chain1, crf-chain1-constrained, crf-chain2-generic, crf-chain2-tiers, critbit, criterion, criterion-plus, crypto-numbers, crypto-random, cryptsy-api, csv-conduit, csv-nptools, cubicbezier, cypher, darcs, darcs-beta, darkplaces-text, data-default-generics, data-default-instances-vector, data-dispersal, data-layout, data-msgpack, data-msgpack-types, data-rev, dataflow, datalog, datasets, dawg, dawg-ord, dbus, dbus-core, dcpu16, dead-simple-json, deeplearning-hs, definitive-base, definitive-filesystem, definitive-graphics, definitive-parser, definitive-reactive, definitive-sound, dense, descriptive, dhall, dhall-json, dhall-nix, diagrams-cairo, diagrams-pgf, digestive-functors-aeson, dimensional, directed-cubical, discogs-haskell, discord-hs, discrimination, disjoint-set-stateful, dixi, dockercook, doctemplates, domplate, dph-base, dph-examples, dph-lifted-base, dph-lifted-copy, dph-lifted-vseg, dph-prim-interface, dph-prim-par, dph-prim-seq, dresdner-verkehrsbetriebe, dsh-sql, dsmc, dsmc-tools, dtw, dvda, dynamic-mvector, dynamic-plot, dynamodb-simple, dynobud, easyjson, eccrypto, ede, edit-distance-vector, egison, eigen, ekg-bosun, ekg-carbon, ekg-influxdb, elm-get, elm-package, engine-io, ert, ethereum-client-haskell, ex-pool, exference, ez-couch, factual-api, falling-turnip, fastbayes, fay, ffmpeg-light, fibon, find-clumpiness, fixed-point-vector, fixfile, flac, flat-mcmc, flowdock-api, fluent-logger, foldl, foldl-incremental, folds, forbidden-fruit, formura, fpco-api, fpnla-examples, free-game, free-vector-spaces, freenect, friday, friday-devil, friday-juicypixels, friday-scale-dct, full-text-search, funcons-tools, functor-classes-compat, fwgl, fwgl-glfw, gamma, gelatin, genders, generic-aeson, generic-pretty, geojson, ghc-dump-tree, ghcjs-base-stub, ghclive, ginger, gipeda, git, github, github-backup, github-tools, github-webhook-handler, glasso, glirc, gloss-examples, gloss-juicy, goal-geometry, goal-probability, goal-simulation, gochan, gore-and-ash-demo, gore-and-ash-lambdacube, gps, graph-core, grasp, graylog, gridland, groundhog-postgresql, growler, gsl-random, hCsound, hF2, hPDB, hPDB-examples, hackage-server, hadoop-formats, hadoop-rpc, hadoop-tools, haiji, hakaru, hakyll, hakyll-contrib-csv, hamilton, happybara-webkit, hashtables, haskanoid, haskell-aliyun, haskell-eigen-util, haskell-kubernetes, haskell-neo4j-client, haskell-player, haskell-plot, haskell-spacegoo, haskelm, haskmon, haskoin-core, hasql, hasql-backend, hasql-class, hasql-generic, hasql-postgres, hastache-aeson, haxl, hbayes, hblas, hblock, hdbc-aeson, hdo, hdr-histogram, hedis, hedn, heist, heist-aeson, hemokit, hgeometry, hi3status, himpy, hinduce-associations-apriori, hinduce-examples, hinterface, hip, hirt, histogram-fill, histogram-fill-binary, histogram-fill-cereal, hit, hjcase, hjsonpointer, hjsonschema, hlbfgsb, hledger-iadd, hledger-ui, hmatrix, hmatrix-csv, hmatrix-gsl, hmatrix-gsl-stats, hmatrix-nlopt, hmatrix-quadprogpp, hmatrix-repa, hmatrix-svdlibc, hnetcdf, hnn, hob, hoodle-core, hoodle-types, hoogle, hopfield, hopfield-networks, hops, hosc-json, hpack-convert, hpqtypes, hps-kmeans, hquantlib, hruby, hs-duktape, hsbc, hsc3-lang, hsc3-plot, hsc3-sf-hsndfile, hscope, hsdev, hsignal, hslogstash, hslua-aeson, hsndfile-vector, hsnoise, hstatistics, hstradeking, hstyle, hstzaar, htoml, http2, hunt-searchengine, hw-balancedparens, hw-bits, hw-eliasfano, hw-excess, hw-json, hw-json-lens, hw-packed-vector, hw-prim, hw-rankselect, hw-rankselect-base, hw-succinct, hw-vector, hw-xml, hybrid-vectors, hyperloglog, hyperloglogplus, hypher, idris, ihaskell, ihaskell-widgets, imagemagick, impure-containers, indieweb-algorithms, inf-interval, influxdb, inline-c, inline-java, inline-r, instinct, intricacy, io-streams, ip, ipopt-hs, irc-core, iridium, ismtp, isobmff-builder, isohunt, iterable, jacobi-roots, jammittools, jason, jmacro, jmacro-rpc, jose, jose-jwt, jsaddle, json-ast, json-ast-json-encoder, json-autotype, json-builder, json-fu, json-incremental-decoder, json-pointer-aeson, json-rpc, json-rpc-client, json-rpc-generic, json-rpc-server, json-schema, json-sop, json-stream, json-togo, json-tools, jsonextfilter, jsonschema-gen, jsonsql, jsontsv, jsonxlsx, jvm, jwt, kalman, karver, kd-tree, keter, keyed, keystore, kickass-torrents-dump-parser, kickchan, kmeans-par, kmeans-vector, knots, krapsh, ks-test, l-bfgs-b, labyrinth-server, lagrangian, lambdacube-bullet, lambdacube-compiler, lambdacube-core, lambdacube-edsl, lambdacube-engine, lambdacube-gl, lambdacube-ir, lambdacube-samples, language-conf, language-puppet, language-spelling, large-hashable, lbfgs, lda, learning-hmm, lendingclub, lens, lens-aeson, lens-prelude, levmar, lgtk, liblinear-enumerator, librato, libsystemd-journal, limp-cbc, lin-alg, linear, linear-algebra-cblas, linearmap-category, liquid, liquidhaskell, listlike-instances, llvm-analysis, llvm-base-types, llvm-data-interop, lmdb-high-level, log-domain, log-elasticsearch, log-postgres, log-utils, lol, lol-cpp, lol-repa, loops, loris, lowgl, lp-diagrams, lp-diagrams-svg, lrucaching, ls-usb, lua-bc, lua-bytecode, luis-client, luminance, lushtags, lvish, maam, mangopay, manifolds, marionetta, marvin, math-functions, matrices, matrix, maxent, maxent-learner-hw, maximal-cliques, mdp, mediabus, mediabus-fdk-aac, mediabus-rtp, memcache, memorypool, meta-par, meta-par-accelerate, metric, metrics, microformats2-parser, microlens-aeson, microlens-platform, minecraft-data, miniball, minst-idx, mios, misfortune, mnist-idx, modular-prelude, monad-memo, monad-ox, mono-foldable, mono-traversable, monoid-subclasses, monte-carlo, morfette, ms, msgpack, msgpack-aeson, mtgoxapi, mustache, mustache-haskell, mutable-containers, mutable-iter, mwc-random, mwc-random-monad, myo, mysql-haskell, nanovg, needle, nerf, netease-fm, netpbm, network-bitcoin, network-carbon, network-topic-models, neural, neural-network-blashs, neural-network-hmatrix, nlopt-haskell, nm, nonlinear-optimization, nonlinear-optimization-ad, not-gloss, notmuch-web, numbering, numeric-tools, oanda-rest-api, off-simple, opencv-raw, opengl-dlp-stereo, opengles, opentype, optimal-blocks, optimization, order-statistics, ordrea, pack, packed-dawg, pandoc, pandoc-citeproc, pansite, parallel-tasks, parconc-examples, partage, partly, patch-image, patches-vector, paypal-adaptive-hoops, pcd-loader, pcre-utils, persistent, pg, pgdl, pgp-wordlist, pgstream, phasechange, phybin, picedit, pinboard, pinch, pipes-csv, pipes-random, pipes-vector, plot-gtk-ui, plot-lab, plots, ply-loader, poker-eval, polynomial, polynomials-bernstein, postgresql-binary, postgresql-orm, postgresql-simple, postgrest, potrace, pptable, praglude, pregame, primitive-simd, pringletons, probable, profiteur, prologue, property-list, prosper, pubnub, puffytools, pure-cdb, purescript, purescript-bundle-fast, qhull-simple, qr-imager, qr-repa, qrcode, quantfin, quick-schema, quickcheck-instances, quickset, raaz, rakhana, random-fu, rangemin, rascal, rasterific-svg, rattletrap, re2, rebase, record-gl, reddit, reedsolomon, reflex-dom-colonnade, regress, remote-json, repa, repa-algorithms, repa-array, repa-convert, repa-examples, repa-flow, repa-io, repa-linear-algebra, repa-scalar, repa-series, repa-sndfile, repa-stream, repa-v4l2, resource-pool, resource-pool-catchio, respond, rest-gen, rethinkdb, rethinkdb-client-driver, rethinkdb-wereHamster, riak, ring-buffer, rison, rng-utils, rollbar, rosa, roshask, roundtrip-aeson, rubberband, ruby-marshal, safe-freeze, safecopy, safecopy-store, sampling, samtools, sarsi, scalpel-core, scat, scholdoc, scholdoc-citeproc, scientific, scion-browser, scroll, sde-solver, sdl2, sdl2-cairo-image, sdl2-gfx, sdl2-mixer, sdr, second-transfer, secret-sharing, seqalign, seqloc, seqloc-datafiles, sequor, serokell-util, servant-auth-token-leveldb, servant-cassava, servant-ede, sexp, sext, sgd, shakespeare, shell-escape, shentong, sibe, simd, simple, simple-conduit, simple-templates, simple-vec3, siphon, sized, slot-lambda, smallpt-hs, smoothie, snap-core, snap-server, snaplet-auth-acid, snaplet-wordpress, sndfile-enumerators, socket-io, socketio, soyuz, sparkle, sparse, sparse-linear-algebra, spline3, splines, spool, sprinkles, spritz, stache, stack, stackage-curator, stackage-types, stash, state-bag, statistics, statistics-dirichlet, statistics-fusion, statistics-linreg, stats, stb-image-redux, storable-static-array, store, stratum-tool, streaming-png, structures, stunts, subhask, suffixarray, sump, sunroof-server, svg-tree, svm-simple, swagger2, swift-lda, sym, syncthing-hs, syntax, syntax-attoparsec, syntax-printer, system-random-effect, t3-game, t3-server, taggy, tai64, target, task-distribution, tdigest, temporal-music-notation, tensor, text-register-machine, text-show-instances, text-zipper, th-lift-instances, these, threepenny-gui, thrift, thyme, tianbar, tictactoe3d, timeseries, tinyXml, tiphys, tkyprof, tls-extra, tn, tomato-rubato-openal, total-maps, tower, toysolver, traildb, transient-universe, triangulation, tslib, tsp-viz, tttool, turkish-deasciifier, twentyseven, type-structure, typed-streams, typeparams, typography-geometry, tz, tzdata, uhc-light, universum, unjson, unm-hip, unpack-funcs, unused, uri-templater, usb, usb-iteratee, vector-algorithms, vector-binary, vector-binary-instances, vector-buffer, vector-builder, vector-bytes-instances, vector-bytestring, vector-conduit, vector-fftw, vector-functorlazy, vector-heterogenous, vector-instances, vector-instances-collections, vector-mmap, vector-random, vector-read-instances, vector-sized, vector-split, vector-static, vector-strategies, vector-th-unbox, vectortiles, verdict-json, viewprof, vigilance, vinyl-gl, vinyl-vectors, vty, vty-examples, vty-ui, wacom-daemon, wai-predicates, wai-static-cache, wavefront, wavy, weather-api, web-page, web3, webapi, webdriver, webdriver-snoy, webify, webrtc-vad, witherable, woot, word-vector, wordpass, wrecker, x86-64bit, xeno, xlsior, xlsx, xml-to-json, xml2json, xsha1, yackage, yahoo-finance-api, yahoo-finance-conduit, yaml, yaml-combinators, yaml-rpc, yate, yesod-auth-oauth2, yesod-core, yesod-dsl, yesod-media-simple, yesod-raml, yesod-routes, yi-fuzzy-open, yi-snippet, yices-painless, yql, yxdb-utils, zoom-cache-sndfile
comments powered byDisqus