Commit Graph

2525 Commits

Author SHA1 Message Date
Harendra Kumar
eb50b94bd2 Add ability to pass arguments to doctest
* Also, use --fast by default
* Add documentation for running doctests in the test README
2021-06-11 02:10:52 +05:30
Harendra Kumar
b90c614fcb Upgrade to fusion-plugin 0.2.3 2021-06-10 11:23:33 +05:30
Harendra Kumar
a0386cb35a Rework the Streamly.Tutorial module
* Move setup and imports together, fix WAsync example
* Remove redundant imports
* Remove @..@ blocks
* Convert more snippets to doctest
* Edit concurrent streams examples
* Reformat code snippets
* Shorten the length of code lines
* Remove search query example
2021-06-09 23:07:30 +05:30
Ranjeet Kumar Ranjan
cbb57f2558 Fix Tutorial doctest 2021-06-09 07:50:39 +05:30
Harendra Kumar
3feeec2e8e Check for GNU awk 2021-06-08 23:54:04 +05:30
Harendra Kumar
cc198c5b8d Fix gauge benchmark name matching 2021-06-08 23:54:04 +05:30
Harendra Kumar
3cd8e9bddf Print info messages on stderr instead of stdout
Otherwise it mixes with the output of benchmark list which we use in
scripts.
2021-06-08 23:54:04 +05:30
Harendra Kumar
c4358b3957 Fix Array.Pin.Pinned benchmark module name 2021-06-08 23:54:04 +05:30
Harendra Kumar
9a98ee00d5 Bump the heap limit for tasty-bench
For Data.Array/o-1-space/generation/show and similar benchmarks.
2021-06-08 23:54:04 +05:30
Harendra Kumar
5537b0bfc2 Add --sort-by-name flag
To sort the benchmarks by name instead of sorting them by field value or
percent diff.
2021-06-08 23:54:04 +05:30
Harendra Kumar
edbb7b8010 Fix error handling, use pipefail
* Also, fix --prefix not working due to missing ";"
* Fix correct benchmark name to be printed
2021-06-08 23:54:04 +05:30
Harendra Kumar
b0fdda43d5 Fix missing benchmarks 2021-06-08 23:54:04 +05:30
Harendra Kumar
03218ad71b Cleanup, fix issues in bench.sh 2021-06-08 23:54:04 +05:30
Ranjeet Kumar Ranjan
b68baf3c51 Add support for benchmarking with tasty-bench
tasty-bench has fewer dependencies and is agile to keep up with new GHC
versions. This change is especially motivated by support for GHC 9.0.1.
gauge depends on foundation/basement which lagging much behind and seem
to be unmaintained.
2021-06-08 23:54:04 +05:30
Harendra Kumar
86b3a509b4 Add tasty-bench to default.nix 2021-06-08 23:54:04 +05:30
Harendra Kumar
d51fab489f Fix benchmark name prefixes to module names
Otherwise the new bench.sh changes for tasy-bench won't work for these
modules.
2021-06-08 23:54:04 +05:30
adithyaov
87bf80e26d Fix a link markup in docs/Build.md 2021-06-08 10:41:17 +05:30
Harendra Kumar
56e1807742 Fix markup 2021-06-03 17:16:15 +05:30
Harendra Kumar
3706e838be Fix since annotations in Array.Foreign module
Module was moved from Streamly.Memory.Array, so the APIs should be
marked since the current release.
2021-06-03 17:16:15 +05:30
Harendra Kumar
8b071538e4 Fix some haddock markup and since annotations 2021-06-03 17:16:15 +05:30
Harendra Kumar
8072636a12 Fix O(n) space issue in evalStateT/runStateT
Added strictness annotation. Space consumption now is O(1).
2021-06-02 23:04:32 +05:30
Harendra Kumar
28e17ee82e Fix a perf issue in iterate/iterateM
It was taking O(n) space, now it takes O(1)
2021-06-02 22:18:00 +05:30
Harendra Kumar
53aae83e3a Fix links, use link refs kept at one place 2021-06-02 18:12:39 +05:30
Harendra Kumar
6cb4c3c0ba Simplify the GHC versions section 2021-06-02 18:12:39 +05:30
Harendra Kumar
b99b8b4ac7 Complete, edit and format changelog for 0.8.0 2021-06-02 18:12:39 +05:30
Ranjeet Kumar Ranjan
191e3cbd5b Fix Pre-Release to 0.8.0
Fix missing quotes from Stream.intercalateSuffix docs

Fix review comments

Revert Internal API to Pre-Release

Fix Pre-Release to 0.8.0 for remainig

revert Mut/Type.hs to Pre-release
2021-06-01 15:26:05 +05:30
Harendra Kumar
59ebde003b Add a title and contain all sections in it
* Edit some section titles
2021-05-31 20:59:12 +05:30
Joseph Koshy
69e4df7511 Improve the flow of text in the top-level README. 2021-05-31 16:51:38 +05:30
Pranay Sashank
7d9256e283 Rename Parser.yield, yieldM to fromPure, fromEffect. 2021-05-30 22:24:54 +05:30
Pranay Sashank
90be38762b Rename Fold.yield, yieldM to fromPure, fromEffect. 2021-05-30 22:24:54 +05:30
Pranay Sashank
f24ddc0bdf Rename Unfold.yield, yieldM to fromPure, fromEffect. 2021-05-30 22:24:54 +05:30
Joseph Koshy
47d0e89286 Minor: add a title to a README. 2021-05-30 22:11:40 +05:30
Ranjeet Kumar Ranjan
f95cb897e1 Use full module names in documentation 2021-05-30 22:11:06 +05:30
Harendra Kumar
4ca4d31fec Reformat and compact the description
Second level bullets are not rendered properly so use a separate
paragraph instead to avoid the issue.
2021-05-29 16:01:08 +05:30
Harendra Kumar
79defeb5ec Make minor refactoring changes for fromPure/fromEffect
* Move deprecated functions next to original ones, keep them in the generate
  section itself.
* Rename constructWithYield to constructWithFromPure
* Fix typo
2021-05-29 14:31:44 +05:30
Pranay Sashank
70faf014ca Rename Streamly.Prelude.yieldM to fromEffect.
- Deprecate yieldM.
2021-05-29 02:05:01 +05:30
Pranay Sashank
4dfc6bf9ee Rename Streamly.Prelude.yield to fromPure.
- Deprecate yield.
2021-05-29 01:22:02 +05:30
Harendra Kumar
1630d3c952 Reorganize/edit/update some sections
* Remove CI badges, these are on the wiki page now.
* Move the internal modules section at the end
* Remove redundant links about docs, and move it down after install/use
2021-05-28 09:23:55 +05:30
Harendra Kumar
e95e149971 Update description and tested-with 2021-05-23 18:45:49 +05:30
Harendra Kumar
7e796e3f96 Use module name "Stream" instead of "S" 2021-05-23 17:15:01 +05:30
Harendra Kumar
a231fe54d2 Move "installing and using" sec. at the beginning
* Add a separate "Documentation" section
2021-05-23 17:15:01 +05:30
Harendra Kumar
cf63b4edd4 Fix README and Overview.md
* Address review comments
* Remove redundant parts in Overview.md that overlap with README
2021-05-23 17:14:10 +05:30
Harendra Kumar
df676c6603 Move old README to docs/Overview.md 2021-05-23 17:10:31 +05:30
Harendra Kumar
973e563d84 Update the README
Remove all the descriptive stuff and use example driven flow.
2021-05-20 10:53:18 +05:30
Harendra Kumar
03cf686ca7 Export some pre-release array APIs
* getIndex
* casting ops
* writeLastN
* readRev
2021-04-27 13:37:56 +05:30
Harendra Kumar
18b6ef8b19 Add alternate implementation examples
These are internal APIs, users can use the impls from the examples
instead.
2021-04-27 13:37:56 +05:30
Harendra Kumar
5a7e3efeac Rename handle based from* APIs to put* 2021-04-27 13:37:56 +05:30
Harendra Kumar
a7ba0701ec Add a hack to find "chart" executable
We can always use the chart executable built by any compiler version.
Sometimes the chart executable is not buildable by newer compiler
versions, in that case we can build it using another compiler and use
that.
2021-04-26 12:21:10 +05:30
Ranjeet Kumar Ranjan
f68d334e89 Refactor encodeUtf8 and encodeUtf8' 2021-04-26 11:30:09 +05:30
Harendra Kumar
a1cb1f5324 Refactor Unicode.Stream module
Pure refactor:

* Rearrange code in coherent sections
* Rename UTF8 decode states
2021-04-25 16:00:36 +05:30