basic stack setup

This commit is contained in:
Maxime Vorwerk
2024-02-19 17:17:20 +01:00
parent 918cc800cb
commit 7f97cffd8e
12 changed files with 304 additions and 13 deletions

10
pcc-haskell/app/Main.hs Normal file
View File

@@ -0,0 +1,10 @@
module Main (main) where
import PolyCube
import qualified Data.HashMap.Strict as Map
main :: IO ()
main = do
let cube = PolyCube (map (const $ [Coord3D (0, 0, 0)]) ([1..24]::[Int])) [Coord3D (0, 0, 0)]
let polycubes = Map.singleton (getOffsets $ head $ orientations cube) (head $ orientations cube)
return ()