-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bunch of mutable stuff and hie settings:
* Rename `msize` -> `sizeOfMArray` * Add `unsafeResizeMArray` and `unsafeLinearSliceMArray` * Rename: * `loadArrayM` -> `iterArrayLinearM_` * `loadArrayWithSetM` -> `iterArrayLinearWithSetM_`. * `loadArrayWithStrideM` -> `iterArrayLinearWithStrideM_`. * Add `iterArrayLinearST_` and `iterArrayLinearWithSetST_` to `Load` class instead of `loadArrayM` and `loadArrayWithSetM`. * Add `iterArrayLinearWithStrideST_` to `LoadStride` class instead of `loadArrayWithStrideM`. * Add new mutable functions: * `resizeMArrayM`, * `outerSliceMArrayM` and `outerSlicesMArray`, * `for2PrimM_` and `ifor2PrimM_`, * `zipSwapM_` * Switch effectful mapping functions to use the representation specific iterators. Which means that they are now restricted to `Load` instead of `Source`. Functions affected: * `mapIO_`, `imapIO_`, `forIO_` and `iforIO_` * `mapIO`, `imapIO`, `forIO` and `iforIO`
- Loading branch information
Showing
32 changed files
with
683 additions
and
294 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
cradle: | ||
stack: | ||
#stackYaml: "./stack-extra-deps.yaml" | ||
components: | ||
- path: "./massiv/src" | ||
component: "massiv:lib" | ||
- path: "./massiv-test/src" | ||
component: "massiv-test:lib" | ||
- path: "./massiv-tests/tests" | ||
component: "massiv-test:test:tests-O0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cradle: | ||
stack: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
resolver: lts-16.22 | ||
packages: | ||
- '.' | ||
extra-deps: | ||
- '../massiv/' | ||
- primitive-0.7.1.0@sha256:29de6bfd0cf8ba023ceb806203dfbec0e51e3524e75ffe41056f70b4229c6f0f,2728 | ||
- random-1.2.0@sha256:195506fedaa7c31c1fa2a747e9b49b4a5d1f0b09dd8f1291f23a771656faeec3,6097 | ||
- splitmix-0.1.0.3@sha256:fc3aae74c467f4b608050bef53aec17904a618731df9407e655d8f3bf8c32d5c,6049 | ||
#- scheduler-1.4.0@sha256:b182be9a7b84e1dba02dac761c3f4e204521d0f779d72d86040789d5aaadf92a,2833 | ||
- github: lehins/haskell-scheduler | ||
commit: c5506d20d96fc3fb00c213791243b7246d39e822 | ||
subdirs: | ||
- scheduler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resolver: lts-18.3 | ||
packages: | ||
- '.' | ||
extra-deps: | ||
- '../massiv/' | ||
- github: lehins/haskell-scheduler | ||
commit: c5506d20d96fc3fb00c213791243b7246d39e822 | ||
subdirs: | ||
- scheduler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.