This directory contains Haskell programs for the ancient Egyptian trade route optimization and pyramid resource calculation challenges.
- Clone the Repository:
git clone [email protected]:DmitrySadovnikov/code-archaeology.git
- Navigate to the Haskell Directory:
cd code-archaeology/haskell
- Build the Docker Image:
docker build -t haskell-dev .
- Run the Docker Container:
docker run -it --rm -v $(pwd):/app haskell-dev
- Run the Haskell Programs:
- Trade Route Optimization: Inside the container, run
ghc RouteCalc.hs -o RouteCalc && ./RouteCalc
- Pyramid Resource Calculation: Inside the container, run
ghc PyramidResources.hs -o PyramidResources && ./PyramidResources
- Trade Route Optimization: Inside the container, run