All Projects → pubnub → haskell

pubnub / haskell

Licence: other
PubNub Haskell SDK

Programming Languages

haskell
3896 projects

PubNub Haskell Client

Building

$ cabal configure
$ cabal install --only-dependencies
$ cabal build

Run Examples

After building you can run the executable of the examples.

$ dist/build/hello_world/hello_world
Just (SubscribeResponse (Array (fromList []),Timestamp 13878501585466665))
Just (PublishResponse 1 "Sent" (Timestamp 13878501588199833))

Run the chat example from two different terminals:

$ dist/build/chat/chat
Enter Username:
tristan
hello
<tristan> : hello
<ellen> : oh hey
$ dist/build/chat/chat
Enter Username:
ellen
oh hey
<ellen> : oh hey
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].