~/talk

Building a Telegram Bot in Haskell (Part 1)

Talkat LambdaConf 2018 · 2018-06-03..06-05· [machine-learning]
slides:none on file

A live workshop shows a working Telegram bot built in Haskell using Stack GHCi ghcid, the telegram-bot-simple library and its update‑parser helpers, with a pure model/action design like Elm. The demo implements an echo then to‑do model that stores messages in a record, replies with replyText, and uses trace debugging to prove updates arrive and the bot actually runs. Examples include parsing text, adding items, and a scheduler stub; compilation and runtime feedback are shown.

AI-written summary · about

  1. 0:00Start
  2. 8:26Design Pattern
  3. 22:57Debugging
  4. 27:44Build an Echo Bot
  5. 31:01Magic Combinator
  6. 32:57Reply Text
  7. 38:57Telegram Bot Simple Update Parser
  8. 49:40Define the Add Item Function
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.