Skip to content

iansullivan88/stock-ticker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock Ticker

A demonstration of using Haskell as a web socket server.

Accompanying blog post can be found here.

To compile and run the code, you will need a Haskell compiler. To make it simple, you would probably also want a package manager to manage dependencies. The Haskell Platform is a 'batteries included' download that contains the GHC compiler, cabal-install (the package manager) and various other libraries and tools.

Once installed, the code can be compiled and run with the following commands:

cabal install --dependencies-only
cabal run

To run the client, just open stock-ticker.html in a web browser that supports WebSockets.

(I've only tested this Ubuntu 14.04 and with GHC 7.8.3 although it should compile on other OSs with other versions of GHC).

About

A demonstration of using Haskell as a web socket server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published