Skip to content

Commit c439b4d

Browse files
Add IO.Handle as type (#83)
* expose `Handle` type so that we can pass a handle around in a record * increase base upper bound in `package.yaml`
1 parent 28452e9 commit c439b4d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

hell.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 1.12
22

3-
-- This file has been generated from package.yaml by hpack version 0.36.0.
3+
-- This file has been generated from package.yaml by hpack version 0.37.0.
44
--
55
-- see: https://github.com/sol/hpack
66

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: "Chris Done"
55
copyright: "2023 Chris Done"
66
synopsis: "Haskell-based shell scripting language"
77
dependencies:
8-
- base >= 4.17.2.1 && < 4.18
8+
- base >= 4.17.2.1 && < 4.19
99
- haskell-src-exts
1010
- ghc-prim
1111
- containers

src/Hell.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,7 @@ supportedTypeConstructors =
11651165
("Tree", SomeTypeRep $ typeRep @Tree),
11661166
("Value", SomeTypeRep $ typeRep @Value),
11671167
("()", SomeTypeRep $ typeRep @()),
1168+
("Handle", SomeTypeRep $ typeRep @IO.Handle),
11681169

11691170
-- Internal, hidden types
11701171
("hell:Hell.NilL", SomeTypeRep $ typeRep @('NilL)),

0 commit comments

Comments
 (0)