From 1936b18b6139d4519f607561c96834d061583cd5 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Wed, 17 Feb 2021 00:20:51 +0100 Subject: initial commit So far, it is fairly inefficient — for each message, the global state of the application is changed (i.e. a read-write action on a HashMap). Since clients can't change rooms after joining anyways, this should probably be changed. --- picarones-hs.cabal | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 picarones-hs.cabal (limited to 'picarones-hs.cabal') diff --git a/picarones-hs.cabal b/picarones-hs.cabal new file mode 100644 index 0000000..deb2969 --- /dev/null +++ b/picarones-hs.cabal @@ -0,0 +1,31 @@ +cabal-version: >=1.10 +-- Initial package description 'picarones-hs' generated by 'cabal +-- init'. For further documentation, see +-- http://haskell.org/cabal/users-guide/ + +name: picarones-hs +version: 0.1.0.0 +-- synopsis: +-- description: +-- bug-reports: +-- license: +license-file: LICENSE +author: stuebinm +maintainer: stuebinm@disroot.org +-- copyright: +-- category: +build-type: Simple + +executable picarones-hs + main-is: Main.lhs + -- other-modules: + -- other-extensions: + ghc-options: -threaded + build-depends: base == 4.*, + text, + aeson, + websockets, + bytestring, + unordered-containers + -- hs-source-dirs: + default-language: Haskell2010 -- cgit v1.2.3