| Copyright | (c) 2017 Harendra Kumar | 
|---|---|
| License | BSD3 | 
| Maintainer | harendra.kumar@gmail.com | 
| Stability | experimental | 
| Portability | GHC | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Streamly.Examples
Description
To run these examples:
You need to build the library with the "examples" flag on e.g.
 stack build --flag streamly:examples. To include the SDL examples as well
 use stack build --flag streamly:examples-sdl. You will have to make sure
 that you have the SDL OS package installed on your system and the headers
 are visible to Haskell build tool.
You can directly evaluate the respective file and its main function using
 ghc, like this (this may not work when built with examples-sdl flag):
$ stack ghc -- -e acidRainGame src/Streamly/Examples/AcidRainGame.hs
Alternatively, you can create a file calling the main function and compile it:
$ cat ex.hs import Streamly.Examples main = acidRainGame $ stack ghc ex.hs
Alternatively, you can just import Streamly.Examples and evaluate the respective function in GHCi.
Documentation
acidRainGame :: IO () Source #
circlingSquare :: IO () Source #
listDirRecursive :: IO () Source #
mergeSortedStreams :: IO () Source #
searchEngineQuery :: IO () Source #