Skip to content

Commit

Permalink
Move language extensions into cabal
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed Jun 17, 2021
1 parent fe700a1 commit 05aa9f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions hydra-node/hydra-node.cabal
Expand Up @@ -29,6 +29,8 @@ common project-config
ConstraintKinds
DataKinds
DefaultSignatures
DeriveAnyClass
DerivingStrategies
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
Expand All @@ -40,6 +42,7 @@ common project-config
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
Expand All @@ -55,6 +58,7 @@ common project-config
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeSynonymInstances
ViewPatterns
Expand Down
5 changes: 1 addition & 4 deletions hydra-node/src/Hydra/Ledger/Simple.hs
@@ -1,10 +1,7 @@
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}

-- | A mock implementation of a ledger slightly less dumb than 'Mock'.
--
-- This implementation of a 'Ledger' adds a bit more logic in order to:
--
-- * Be able to have a representation of 'UTxO' closer to what a real-life eUTxO would be,
-- so that we can distinguish it from other components of the ledger,
-- * Be able to have transactions validated against the current state of the ledger, so that
Expand Down

0 comments on commit 05aa9f4

Please sign in to comment.