Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make example URL to absolute #59

Merged
merged 1 commit into from
Nov 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 31 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,74 +43,74 @@ $ cabal run --flag interop Interop.Pipes

### General

* [Intro](examples/Intro.hs): Simple, introductory examples - loops, text
* [Intro](https://github.com/composewell/streamly-examples/blob/master/examples/Intro.hs): Simple, introductory examples - loops, text
processing, networking, concurrency.
* [MergeSort](examples/MergeSort.hs): Sort a stream concurrently using merge
* [MergeSort](https://github.com/composewell/streamly-examples/blob/master/examples/MergeSort.hs): Sort a stream concurrently using merge
sort.
* [Rate](examples/Rate.hs): Run an action at a given rate.
* [Rate](https://github.com/composewell/streamly-examples/blob/master/examples/Rate.hs): Run an action at a given rate.

### FileSystem

* [CoreUtils](examples/CoreUtils.hs): Implement simplified coreutils
* [CoreUtils](https://github.com/composewell/streamly-examples/blob/master/examples/CoreUtils.hs): Implement simplified coreutils
like `cat`, `cp`, `tee`, `grep` using `Streamly.FileSystem.File` API.
* [CoreUtilsHandle](examples/CoreUtilsHandle.hs): Implement simplified
* [CoreUtilsHandle](https://github.com/composewell/streamly-examples/blob/master/examples/CoreUtilsHandle.hs): Implement simplified
coreutils using `Streamly.FileSystem.Handle` API.
* [Split](examples/Split.hs): Implement file splitting utility `split`.
* [FileSystemEvent](examples/FileSystemEvent.hs): File watching/fsnotify API
* [Split](https://github.com/composewell/streamly-examples/blob/master/examples/Split.hs): Implement file splitting utility `split`.
* [FileSystemEvent](https://github.com/composewell/streamly-examples/blob/master/examples/FileSystemEvent.hs): File watching/fsnotify API
example.
* [ListDir](examples/ListDir.hs): List a directory tree recursively and
* [ListDir](https://github.com/composewell/streamly-examples/blob/master/examples/ListDir.hs): List a directory tree recursively and
concurrently.

### Text Processing

* [CamelCase](examples/CamelCase.hs): Convert a file to camel case.
* [WordCount](examples/WordCount.hs): Simple word counting (`wc`) program.
* [WordCount.c](examples/WordCount.c): C equivalent for perf comparison.
* [WordCountModular](examples/WordCountModular.hs): Modular version.
* [WordCountParallel](examples/WordCountParallel.hs): Concurrent version.
* [WordCountParallelUTF8](examples/WordCountParallelUTF8.hs): Concurrent
* [CamelCase](https://github.com/composewell/streamly-examples/blob/master/examples/CamelCase.hs): Convert a file to camel case.
* [WordCount](https://github.com/composewell/streamly-examples/blob/master/examples/WordCount.hs): Simple word counting (`wc`) program.
* [WordCount.c](https://github.com/composewell/streamly-examples/blob/master/examples/WordCount.c): C equivalent for perf comparison.
* [WordCountModular](https://github.com/composewell/streamly-examples/blob/master/examples/WordCountModular.hs): Modular version.
* [WordCountParallel](https://github.com/composewell/streamly-examples/blob/master/examples/WordCountParallel.hs): Concurrent version.
* [WordCountParallelUTF8](https://github.com/composewell/streamly-examples/blob/master/examples/WordCountParallelUTF8.hs): Concurrent
version with full UTF8 handling.
* [WordFrequency](examples/WordFrequency.hs): Count word frequency in
* [WordFrequency](https://github.com/composewell/streamly-examples/blob/master/examples/WordFrequency.hs): Count word frequency in
a file and print top 25 words.
* [CSVParser](examples/CSVParser.hs): Parse a CSV file.
* [DateTimeParser](examples/DateTimeParser.hs): Parse a Date/Time string.
* [LogParser](examples/LogParser.hs): Parse a quoted string with escaping.
* [CSVParser](https://github.com/composewell/streamly-examples/blob/master/examples/CSVParser.hs): Process a CSV file
* [DateTimeParser](https://github.com/composewell/streamly-examples/blob/master/examples/DateTimeParser.hs): Parse a Date/Time string.
* [LogParser](https://github.com/composewell/streamly-examples/blob/master/examples/LogParser.hs): Parse a quoted string with escaping.

### Networking

* [EchoServer](examples/EchoServer.hs): A concurrent TCP server that
* [EchoServer](https://github.com/composewell/streamly-examples/blob/master/examples/EchoServer.hs): A concurrent TCP server that
echoes everything that it receives.
* [MergeServer](examples/MergeServer.hs): Merges lines received from
* [MergeServer](https://github.com/composewell/streamly-examples/blob/master/examples/MergeServer.hs): Merges lines received from
several client connections and writes them to a file.
* [FileSender](examples/FileSender.hs): Send many files concurrently to
* [FileSender](https://github.com/composewell/streamly-examples/blob/master/examples/FileSender.hs): Send many files concurrently to
a server over multiple connections. Can be used to test `MergeServer`.
* [CmdServer](examples/CmdServer.hs): Receive a stream of commands from many
* [CmdServer](https://github.com/composewell/streamly-examples/blob/master/examples/CmdServer.hs): Receive a stream of commands from many
clients and respond to them using command handlers.
* [CmdClient](examples/CmdClient.hs): Run multiple concurrent clients sending
* [CmdClient](https://github.com/composewell/streamly-examples/blob/master/examples/CmdClient.hs): Run multiple concurrent clients sending
streams of commands to a server and receiving responses. Can be used to test
`CmdServer`.
* [WordServer](examples/WordServer.hs): A word look up (dictionary)
* [WordServer](https://github.com/composewell/streamly-examples/blob/master/examples/WordServer.hs): A word look up (dictionary)
server, instead of performing a real DB query the server just adds a
time delay to simulate the IO.

### FRP/Games/Animation

* [AcidRain](examples/AcidRain.hs): A console game with deteriorating health
* [AcidRain](https://github.com/composewell/streamly-examples/blob/master/examples/AcidRain.hs): A console game with deteriorating health
that can be modified by typing "harm" and "potion" commands.
* [CirclingSquare](examples/CirclingSquare.hs): Use SDL2 to display a
* [CirclingSquare](https://github.com/composewell/streamly-examples/blob/master/examples/CirclingSquare.hs): Use SDL2 to display a
square that moves in a circle, and follows the mouse pointer.

### Interoperation

* [Interop.Streaming](examples/Interop/Streaming.hs): Converting streamly
* [Interop.Streaming](https://github.com/composewell/streamly-examples/blob/master/examples/Interop/Streaming.hs): Converting streamly
stream type to and from `streaming` stream type.
* [Interop.Pipes](examples/Interop/Pipes.hs): Converting streamly
* [Interop.Pipes](https://github.com/composewell/streamly-examples/blob/master/examples/Interop/Pipes.hs): Converting streamly
stream type to and from `pipes` stream type.
* [Interop.Conduit](examples/Interop/Conduit.hs): Converting streamly
* [Interop.Conduit](https://github.com/composewell/streamly-examples/blob/master/examples/Interop/Conduit.hs): Converting streamly
stream type to and from `conduit` stream type.
* [Interop.Vector](examples/Interop/Vector.hs): Converting streamly
* [Interop.Vector](https://github.com/composewell/streamly-examples/blob/master/examples/Interop/Vector.hs): Converting streamly
stream type to and from `vector` stream type.

## Licensing

Available under [Apache-2.0 license](LICENSE).
Available under [Apache-2.0 license](https://github.com/composewell/streamly-examples/blob/master/LICENSE).
Loading