File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ data NRecordType
376376
377377instance Serialise NRecordType
378378
379- -- * @NExprF@ - Nix expressions, base functor
379+ -- ** @NExprF@ - Nix expressions, base functor
380380
381381-- | The main Nix expression type. As it is polimophic, has a functor,
382382-- which allows to traverse expressions and map functions over them.
@@ -507,7 +507,7 @@ instance TH.Lift NExpr where
507507 pure [| $ (TH. lift b) | ]
508508 )
509509#if MIN_VERSION_template_haskell(2,17,0)
510- liftTyped = unsafeCodeCoerce . lift
510+ liftTyped = TH. liftTyped
511511#elif MIN_VERSION_template_haskell(2,16,0)
512512 liftTyped = TH. unsafeTExpCoerce . TH. lift
513513#endif
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ module Nix.Thunk where
66
77import Control.Monad.Trans.Writer ( WriterT )
88import qualified Text.Show
9+ import qualified Data.Kind
910
1011
1112-- ** @class MonadThunkId@ & @instances@
1920 )
2021 => MonadThunkId m
2122 where
22- type ThunkId m :: *
23+ type ThunkId m :: Data.Kind. Type
2324
2425 freshId :: m (ThunkId m )
2526 default freshId
You can’t perform that action at this time.
0 commit comments