chore: initialize project template
This commit is contained in:
commit
3857b5dfa3
15 changed files with 3728 additions and 0 deletions
20
src/Main.hs
Normal file
20
src/Main.hs
Normal file
|
@ -0,0 +1,20 @@
|
|||
module Main where
|
||||
|
||||
import Main.Utf8 qualified as Utf8
|
||||
|
||||
data Example = Example
|
||||
{ name :: Text
|
||||
, age :: Int
|
||||
}
|
||||
deriving stock (Show, Eq)
|
||||
|
||||
{- |
|
||||
Main entry point.
|
||||
|
||||
`just run` will invoke this function.
|
||||
-}
|
||||
main :: IO ()
|
||||
main = do
|
||||
-- For withUtf8, see https://serokell.io/blog/haskell-with-utf8
|
||||
Utf8.withUtf8 $ do
|
||||
putTextLn "Hello 🌎 (from xmonad-config)"
|
Loading…
Add table
Add a link
Reference in a new issue