Prefix cabal name with «hanafuda» and export more types used in the webapp
This commit is contained in:
parent
79c9488543
commit
607b253f3b
2 changed files with 6 additions and 3 deletions
|
@ -3,7 +3,7 @@ cabal-version: >=1.10
|
||||||
-- init'. For further documentation, see
|
-- init'. For further documentation, see
|
||||||
-- http://haskell.org/cabal/users-guide/
|
-- http://haskell.org/cabal/users-guide/
|
||||||
|
|
||||||
name: APILanguage
|
name: hanafuda-APILanguage
|
||||||
version: 0.1.0.0
|
version: 0.1.0.0
|
||||||
synopsis: The language spoken by the server and clients over the websocket.
|
synopsis: The language spoken by the server and clients over the websocket.
|
||||||
-- description:
|
-- description:
|
||||||
|
@ -20,10 +20,9 @@ extra-source-files: CHANGELOG.md
|
||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules: Hanafuda.Message
|
exposed-modules: Hanafuda.Message
|
||||||
--other-modules: Hanafuda.Key
|
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
build-depends: aeson
|
build-depends: aeson
|
||||||
, base >=4.12 && <4.13
|
, base >=4.11 && <4.13
|
||||||
, containers
|
, containers
|
||||||
, hanafuda
|
, hanafuda
|
||||||
, text
|
, text
|
|
@ -4,6 +4,10 @@
|
||||||
{-# LANGUAGE TypeSynonymInstances #-}
|
{-# LANGUAGE TypeSynonymInstances #-}
|
||||||
{-# LANGUAGE OverloadedStrings #-}
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
module Hanafuda.Message (
|
module Hanafuda.Message (
|
||||||
|
T(..)
|
||||||
|
, FromClient(..)
|
||||||
|
, PlayerStatus(..)
|
||||||
|
, Room
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Data.Char (toLower)
|
import Data.Char (toLower)
|
||||||
|
|
Loading…
Reference in a new issue