Initialise cabal project

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:38 +00:00
parent 5c42037226
commit 883587e806
3 changed files with 25 additions and 0 deletions

7
Main.hs Normal file
View File

@ -0,0 +1,7 @@
-- SPDX-License-Identifier: ISC
-- Copyright (c) 2021 Camden Dixie O'Brien
module Main where
main :: IO ()
main = putStrLn "Hello, Haskell!"

2
Setup.hs Normal file
View File

@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain

16
double-pendulum.cabal Normal file
View File

@ -0,0 +1,16 @@
cabal-version: >=1.10
name: double-pendulum
version: 0.1.0
synopsis: A double pendulum simulation
license: ISC
license-file: LICENSE
author: Camden Dixie O'Brien <cdo@wip.sh>
build-type: Simple
nix: True
executable double-pendulum
main-is: Main.hs
build-depends: base, gloss
default-language: Haskell2010