Skip to content

Commit 4117d70

Browse files
committed
Fix flake
1 parent 0fb0508 commit 4117d70

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

flake.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
returnShellEnv = isShell;
1717
modifier =
1818
drv:
19-
pkgs.haskell.lib.addBuildTools drv [
20-
pkgs.mkdocs
21-
];
19+
pkgs.haskell.lib.addBuildTools drv (with pkgs; [
20+
mkdocs
21+
haskell-language-server
22+
cabal-install
23+
]);
2224
};
2325
in
2426
flake-parts.lib.mkFlake { inherit inputs; } {

src/Lapse/Lambda.hs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ import Lapse.Operators (lset)
1111
import Lapse.Scopes (getValueM)
1212
import Lapse.Types (Func, LapseM, Scopes, Value (..))
1313

14-
data UnList m = Proper [Value] | Improper ([Value], Value) | Single Value deriving (Show)
14+
data UnList m
15+
= Proper [Value]
16+
| Improper ([Value], Value)
17+
| Single Value
18+
deriving (Show)
1519

1620
unList :: Value -> UnList m
1721
unList Nil = Proper []

src/Lapse/Types.hs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ surround s = "(" ++ s ++ ")"
9292

9393
type LapseM = StateT Scopes (StateT Int IO)
9494

95-
data UnList = Proper [Value] | Improper ([Value], Value) | Single Value deriving (Show)
95+
data UnList
96+
= Proper [Value]
97+
| Improper ([Value], Value)
98+
| Single Value
99+
deriving (Show)
96100

97101
unList :: Value -> UnList
98102
unList Nil = Proper []

0 commit comments

Comments
 (0)