3-- Module : Streamly.Examples
4-- Copyright : (c) 2017 Harendra Kumar
7-- Maintainer : harendra.kumar@gmail.com
8-- Stability : experimental
11-- To run these examples:
13-- You need to build the library with the "examples" flag on e.g.
14-- @stack build --flag streamly:examples@. To include the SDL examples as well
15-- use @stack build --flag streamly:examples-sdl@. You will have to make sure
16-- that you have the SDL OS package installed on your system and the headers
17-- are visible to Haskell build tool.
19-- You can directly evaluate the respective file and its main function using
20-- ghc, like this (this may not work when built with @examples-sdl@ flag):
23-- \$ stack ghc -- -e acidRainGame src\/Streamly\/Examples\/AcidRainGame.hs
26-- Alternatively, you can create a file calling the main function and compile
31-- import Streamly.Examples
36-- Alternatively, you can just import "Streamly.Examples" and evaluate the
37-- respective function in GHCi.
39module Streamly.Examples
41 -- Reactive Programming
47 -- Concurrent Programming
54import Streamly.Examples.AcidRainGame
56import Streamly.Examples.CirclingSquare
58import Streamly.Examples.ListDirRecursive
59import Streamly.Examples.MergeSortedStreams
60import Streamly.Examples.SearchEngineQuery
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list