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