From 929fa12b6d895a66a8f533e5b7dd78bd0377a939 Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 21 Oct 2019 11:58:32 +0000 Subject: [PATCH] Do some basic setup --- app/Main.hs | 4 ++-- src/Lib.hs | 6 ------ src/Rextra/Rextra.hs | 6 ++++++ stack.yaml.lock | 12 ++++++++++++ 4 files changed, 20 insertions(+), 8 deletions(-) delete mode 100644 src/Lib.hs create mode 100644 src/Rextra/Rextra.hs create mode 100644 stack.yaml.lock diff --git a/app/Main.hs b/app/Main.hs index de1c1ab..8889ca4 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -1,6 +1,6 @@ module Main where -import Lib +import Rextra.Rextra (rextra) main :: IO () -main = someFunc +main = rextra diff --git a/src/Lib.hs b/src/Lib.hs deleted file mode 100644 index d36ff27..0000000 --- a/src/Lib.hs +++ /dev/null @@ -1,6 +0,0 @@ -module Lib - ( someFunc - ) where - -someFunc :: IO () -someFunc = putStrLn "someFunc" diff --git a/src/Rextra/Rextra.hs b/src/Rextra/Rextra.hs new file mode 100644 index 0000000..485f60b --- /dev/null +++ b/src/Rextra/Rextra.hs @@ -0,0 +1,6 @@ +-- This file will be split up as it grows. +module Rextra.Rextra where + +-- * Just a placeholder function +rextra :: IO () +rextra = putStrLn "rextra" diff --git a/stack.yaml.lock b/stack.yaml.lock new file mode 100644 index 0000000..c21ce22 --- /dev/null +++ b/stack.yaml.lock @@ -0,0 +1,12 @@ +# This file was autogenerated by Stack. +# You should not edit this file by hand. +# For more information, please see the documentation at: +# https://docs.haskellstack.org/en/stable/lock_files + +packages: [] +snapshots: +- completed: + size: 524786 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/14/11.yaml + sha256: 088bb91b545839510a41ae92fa5feb36779ef3529571a42bd12b9f51eb89ded3 + original: lts-14.11