streamly-examples: Examples for Streamly

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

Practical examples to demonstrate the features and performance of Streamly. Includes examples about file IO, text processing, networking, concurrent programming, reactive programming and more.

These examples also serve as a beginner's guide to express practical programs using the dataflow programming (streaming) model. Please visit the Streamly homepage for more details and comprehensive documentation.


[Skip to Readme]

Properties

Versions 0.1.0, 0.1.1, 0.1.2, 0.1.2, 0.1.3
Change log Changelog.md
Dependencies base (>=4.9 && <4.17), containers (>=0.5 && <0.7), directory (>=1.2 && <1.4), exceptions (>=0.8 && <0.11), hashable (>=1.2 && <1.4), mtl (>=2.2 && <3), network (>=2.6 && <4), random (>=1.0.0 && <2), streamly (>=0.8.2 && <0.8.3), transformers (>=0.4 && <0.6), transformers-base (>=0.4 && <0.5), unordered-containers (>=0.2 && <0.3), vector (>=0.12 && <0.13) [details]
License Apache-2.0
Copyright Copyright (c) 2019 Composewell Technologies
Author Composewell Technologies
Maintainer streamly@composewell.com
Category Streamly, Streaming, Concurrency, Text, Filesystem, Network, Reactivity
Home page https://streamly.composewell.com
Bug tracker http://github.com/composewell/streamly-examples/issues
Source repo head: git clone git://github.com/composewell/streamly-examples.git
Uploaded by adithyaov at 2022-03-06T18:59:18Z

Flags

Manual Flags

NameDescriptionDefault
fusion-plugin

Use fusion plugin for for best performance

Disabled
sdl2

Include graphics examples using SDL2

Disabled
interop

Include examples of inter-operation with other libraries

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for streamly-examples-0.1.2

[back to package description]

Streamly Examples

Practical examples to demonstrate the features and performance of Streamly. Includes examples about file IO, text processing, networking, concurrent programming, reactive programming and more.

These examples also serve as a beginner's guide to express practical programs using the dataflow programming (streaming) model. Please visit the Streamly homepage for more details and comprehensive documentation.

Running The Examples

Executable names are the same as the filenames. To run an example:

$ cabal run AcidRain

For performance sensitive examples use fusion-plugin for best performance:

$ cabal run --flag fusion-plugin WordCount -- streamly-examples.cabal

To run SDL2 based examples, make sure that you have the OS package for the sdl2 library installed on your system and the headers are visible to cabal:

$ cabal run --flag sdl2 CirclingSquare

To run interop examples, use the interop build flag:

$ cabal run --flag interop Interop.Pipes

List of examples

General

FileSystem

Text Processing

Networking

FRP/Games/Animation

Monad Transformers

Interoperation

Licensing

Available under Apache-2.0 license.