The linklater package

[Tags:bsd3, library]

A library for writing Slack chat bots.


Features you could take advantage of right now, should you choose:

Shamelessly cute example:

[Skip to Readme]


Change log changelog
Dependencies aeson, base (<4.9), base-prelude, bytestring, containers, http-types, text, wai, wreq [details]
License BSD3
Author Hao Lian <>
Category Network
Home page
Bug tracker
Source repository head: git clone
Uploaded Tue Jul 21 18:05:30 UTC 2015 by hao
Distributions NixOS:
Downloads 1627 total (5 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2015-07-21 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for linklater

Readme for linklater-

Who let you in here?

Relax! I'm here to make your life easier. Has your company ever switched to using Slack, and then you wanted to write silly Slack bots in Haskell as a way to learn Haskell?

<sup>Really?<sup>Wow<sup>That was a pretty specific question.</sup></sup>

Uh, do you want to be friends? Well let's talk about it later, because right now I have an example for you.

But you'll have to grab me first:

  • cabal sandbox init
  • cabal install linklater

If you don't have Haskell, it's quite easy: Windows, Mac, and Linux.

Show me an example!

  • jpgtobot is a slackbot that pastes the image at into chat. It even supports jpgto's flags: so -- r+gif will give you a GIF, randomly selected from all known images named foo. Thanks to the magic of -screen scraping-.

    jpgtobot in action

  • hi5bot lets you high-five people. There are other amazing things it can do too.


  • Uses Text for state-of-the-art Unicode support;
  • Lovely documentation with no misspelllllings to be found;
  • Supports [Slack's formatting syntax]( Slack's formatting syntax)
  • Comes with a fast mode (slashSimple) and a power mode (slash)
  • A warm, receptive maintainer with beautiful brown eyes;
  • Fully Haddock'd methods and module;
  • Open source (BSD3).


  • Hao Lian, author;
  • Ulysses Popple; and
  • Ian Henry, who showed me the flip (+) foo -> (+ foo) trick;
  • Shields (the Grizzly Bear album), which I listened all the way through for the first time while I was writing this ★★★★.

See also

  • tightrope, a library Ian should really document