Commits on Source (45)
-
Ben Gamari authored
-
Sylvain Henry authored
GHCJS uses the same representation for Addr# and StablePtr#, but not for Int#.
-
Ben Gamari authored
-
Ben Gamari authored
-
-
Francesco Gazzetta authored
-
-
-
Lei Zhu authored
-
-
-
konsumlamm authored
-
* Use unsafeNewArray_ instead of newAray_. We know we will fill the array, and newArray_ wastefully initializes it beforehand. * Avoid safeIndexing the range when writing the elements. range generates the elements in the required order, so we can simply use an Int counter.
-
Tommy Bidne authored
https://github.com/haskell/core-libraries-committee/issues/231 Also swap Trustworthy for Safe to placate -Wtrustworthy-safe in ghc tests.
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Sylvain Henry authored
-
meooow authored
-
Lei Zhu authored
-
At the moment it is quite difficult to perform some folds on some arrays. * In general, arrays can be folded over by folding over the range of indices and then indexing into the array. This is a little cumbersome, and also inefficient when folding right-to-left because Ix does not offer reversed range generation. * Alternately, Array has a Foldable instance which works great, but UArray cannot be Foldable. Folds on UArray can instead be done via elems. Due to list fusion, this works out well for some folds (foldr, foldl'), but not others (foldr'). * For mutable arrays, there are no alternate ways to fold. This commit adds some commonly used folds for arrays and mutable arrays to improve this situation.
-
Lei Zhu authored
-
Lei Zhu authored
-
Lei Zhu authored
Building ci
-
Lei Zhu authored
-
Lei Zhu authored
Prepare release v0.5.8.0
-
Lei Zhu authored
-
Lei Zhu authored
Change upstream to GitHub
-
Rodrigo Mesquita authored
-
Lei Zhu authored
-
Rodrigo Mesquita authored
-
Ben Gamari authored
Update second test output for GHC!13301
-
Zubin authored
-
Lei Zhu authored
-
sheaf authored
These SPECIALISE pragmas don't actually do anything, and starting with GHC 9.14 cause a warning to be emitted. This commit simply removes them.
-
Lei Zhu authored
Data.Array.Base: remove useless SPECIALISE pragmas
-
Lei Zhu authored
Bump base bound to 4.21 for GHC 9.12
-
Ben Gamari authored
Allowing GHC 9.14.
-
Ben Gamari authored
Bump base upper bound to < 4.23
Showing
- .github/workflows/build.yml 25 additions, 0 deletions.github/workflows/build.yml
- Data/Array/Base.hs 278 additions, 54 deletionsData/Array/Base.hs
- Data/Array/IArray.hs 12 additions, 0 deletionsData/Array/IArray.hs
- Data/Array/IO.hs 1 addition, 1 deletionData/Array/IO.hs
- Data/Array/IO/Internals.hs 13 additions, 1 deletionData/Array/IO/Internals.hs
- Data/Array/IO/Safe.hs 1 addition, 1 deletionData/Array/IO/Safe.hs
- Data/Array/MArray.hs 12 additions, 1 deletionData/Array/MArray.hs
- Data/Array/MArray/Safe.hs 9 additions, 0 deletionsData/Array/MArray/Safe.hs
- Data/Array/ST.hs 1 addition, 1 deletionData/Array/ST.hs
- Data/Array/ST/Safe.hs 1 addition, 1 deletionData/Array/ST/Safe.hs
- Data/Array/Storable.hs 1 addition, 0 deletionsData/Array/Storable.hs
- Data/Array/Storable/Internals.hs 13 additions, 1 deletionData/Array/Storable/Internals.hs
- array.cabal 4 additions, 4 deletionsarray.cabal
- changelog.md 48 additions, 1 deletionchangelog.md
- tests/T229.hs 2 additions, 1 deletiontests/T229.hs
- tests/T229.stderr-ws-32 0 additions, 3 deletionstests/T229.stderr-ws-32
- tests/T229.stderr-ws-64 0 additions, 3 deletionstests/T229.stderr-ws-64
- tests/T229.stdout-ws-32 1 addition, 0 deletionstests/T229.stdout-ws-32
- tests/T229.stdout-ws-64 1 addition, 0 deletionstests/T229.stdout-ws-64
- tests/all.T 1 addition, 1 deletiontests/all.T
.github/workflows/build.yml
0 → 100644
tests/T229.stderr-ws-32
deleted
100644 → 0
tests/T229.stderr-ws-64
deleted
100644 → 0
tests/T229.stdout-ws-32
0 → 100644
tests/T229.stdout-ws-64
0 → 100644