21 lines
585 B
Haskell
21 lines
585 B
Haskell
|
#! /usr/bin/env -S"ANSWER=42" nix-shell
|
||
|
#! nix-shell -p ghcid
|
||
|
#! nix-shell -p "haskellPackages.ghcWithPackages (p: with p; [pretty-simple])"
|
||
|
#! nix-shell -i "ghcid -c 'ghci' -T main"
|
||
|
|
||
|
{-# OPTIONS_GHC -Wall -Wincomplete-uni-patterns #-}
|
||
|
{-# OPTIONS_GHC -Wno-unused-top-binds -Wno-unused-imports #-}
|
||
|
{-# LANGUAGE OverloadedStrings #-}
|
||
|
|
||
|
import Debug.Trace (trace)
|
||
|
import Text.Pretty.Simple
|
||
|
|
||
|
exampleData :: [Int]
|
||
|
exampleData = [ 35,20,15,25,47,40,62,55,65,95,102,117,150
|
||
|
, 182,127,219,299,277,309,576 ];
|
||
|
|
||
|
main :: IO ()
|
||
|
main = do
|
||
|
putStrLn "Test"
|
||
|
putStrLn "Day 9 - Part 1"
|