Prefix cabal name with «hanafuda» and export more types used in the webapp

This commit is contained in:
Tissevert 2019-08-17 23:10:03 +02:00
parent 79c9488543
commit 607b253f3b
2 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,7 @@ cabal-version: >=1.10
-- init'. For further documentation, see
-- http://haskell.org/cabal/users-guide/
name: APILanguage
name: hanafuda-APILanguage
version: 0.1.0.0
synopsis: The language spoken by the server and clients over the websocket.
-- description:
@ -20,10 +20,9 @@ extra-source-files: CHANGELOG.md
library
exposed-modules: Hanafuda.Message
--other-modules: Hanafuda.Key
-- other-extensions:
build-depends: aeson
, base >=4.12 && <4.13
, base >=4.11 && <4.13
, containers
, hanafuda
, text

View File

@ -4,6 +4,10 @@
{-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE OverloadedStrings #-}
module Hanafuda.Message (
T(..)
, FromClient(..)
, PlayerStatus(..)
, Room
) where
import Data.Char (toLower)