From 370b05da619b94ca0b56b1410c99ed36f58c30e9 Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 22 Jan 2020 21:34:07 +0000 Subject: [PATCH] Update changelog and fix some small issues --- CHANGELOG.md | 7 +++++++ README.md | 2 +- src/Haboli/Euphoria/Api.hs | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26b0e66..e9c8864 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,19 @@ **Table of Contents** - [Changelog for haboli](#changelog-for-haboli) + - [upcoming](#upcoming) - [0.3.0.0](#0300) - [0.2.0.0](#0200) - [0.1.0.0](#0100) +## upcoming +* add `Haboli.Euphoria` module +* add proper README +* clean up package structure +* update documentation + ## 0.3.0.0 * fix Client not receiving all kinds of server events * rename ConnectionConfig record accessors diff --git a/README.md b/README.md index 205a077..b50dd81 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ For more information, see the haddock for the `Haboli.Euphoria.Client` and ## Example bot -Here is a very basic example bot that Replies to `!ping` with `Pong!`: +Here is a very basic example bot that replies to `!ping` with `Pong!`: ```haskell pingPongBot :: Client () () diff --git a/src/Haboli/Euphoria/Api.hs b/src/Haboli/Euphoria/Api.hs index f44230a..783bb48 100644 --- a/src/Haboli/Euphoria/Api.hs +++ b/src/Haboli/Euphoria/Api.hs @@ -77,8 +77,8 @@ import qualified Data.Text as T import Data.Time import Data.Time.Clock.POSIX --- | A class for all types that can be converted into an 'Data.Aeson.Object'. --- Similar to 'ToJSON', but more restrictive. +-- | A class for all types that can be converted into an +-- 'Data.Aeson.Types.Object'. Similar to 'ToJSON', but more restrictive. class ToJSONObject a where toJSONObject :: a -> Object