Initial commit

This commit is contained in:
1computer1 2019-03-12 05:09:46 -04:00
commit 07ec57a453
27 changed files with 1853 additions and 0 deletions

10
docker/haskell/Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM alpine
LABEL author="1Computer1"
RUN apk update
RUN apk add build-base wget ghc cabal
RUN cabal update
RUN cabal install aeson async attoparsec integer-logarithms megaparsec random scientific split vector
COPY run.sh /var/run/
WORKDIR /var/ws

2
docker/haskell/run.sh Normal file
View file

@ -0,0 +1,2 @@
echo "$1" > program.hs
ghc -O0 -j +RTS -A128m -n2m -RTS program.hs >/dev/null && ./program