This commit is contained in:
2025-11-19 18:19:50 +01:00
parent 773fe1a9c3
commit 5b3392dab2
3 changed files with 6 additions and 8 deletions

View File

@ -12,7 +12,7 @@ library
hashable >= 1.4.7.0 && < 1.6, hashable >= 1.4.7.0 && < 1.6,
mtl >= 2.2.2 && < 2.4, mtl >= 2.2.2 && < 2.4,
pretty ^>= 1.1.3.6, pretty ^>= 1.1.3.6,
QuickCheck ^>= 2.16.0.0, QuickCheck >= 2.16.0.0,
transformers >= 0.5.6.2 && < 0.7, transformers >= 0.5.6.2 && < 0.7,
unordered-containers ^>= 0.2.20 unordered-containers ^>= 0.2.20
build-tool-depends: build-tool-depends:
@ -28,8 +28,9 @@ library
. .
executable interpreter executable interpreter
main-is: Assignment.hs main-is: Main.hs
hs-source-dirs:
interpreter
build-depends: base build-depends: base
, chi , chi
, mtl , mtl
, unordered-containers

View File

@ -10,7 +10,7 @@
outputs = { self, nixpkgs, flake-utils }: outputs = { self, nixpkgs, flake-utils }:
let let
ghcVer = "ghc910"; ghcVer = "ghc912";
makeHaskellOverlay = overlay: final: prev: { makeHaskellOverlay = overlay: final: prev: {
haskell = prev.haskell // { haskell = prev.haskell // {
packages = prev.haskell.packages // { packages = prev.haskell.packages // {
@ -53,9 +53,6 @@
withHoogle = true; withHoogle = true;
buildInputs = buildInputs =
(with pkgs; [ (with pkgs; [
gnumake
jasmin
jre_minimal
]) ++ ]) ++
(with haskellPackages; [ (with haskellPackages; [
haskell-language-server haskell-language-server

View File

@ -1,5 +1,5 @@
{-# Language LambdaCase, Strict #-} {-# Language LambdaCase, Strict #-}
module Assignment where module Main where
import Chi import Chi
import Data.Functor ( (<&>) ) import Data.Functor ( (<&>) )