This commit is contained in:
Amy de Buitléir 2025-10-12 22:10:40 +01:00
parent 6d8888cc80
commit 91c1e77598
3 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,6 @@
import Data.List.Extra
main :: IO ()
main = do
print $ lower "ABCDE"
print $ upper "XYZ"

View file

@ -8,11 +8,12 @@
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
customGhc = pkgs.haskellPackages.ghcWithPackages (p: with p; [ p.extra ]);
in
{
devShells = rec {
default = pkgs.mkShell {
packages = [ pkgs.cowsay ];
buildInputs = [ customGhc ];
};
};
}