Skip to content

Commit

Permalink
Export the Convert class
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Nov 27, 2024
1 parent 591aba6 commit 8fe5fa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cardano-api/internal/Cardano/Api/Eras.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module Cardano.Api.Eras
, maybeEon
, monoidForEraInEon
, monoidForEraInEonA
, Convert (..)
, Inject (..)

-- * Data family instances
Expand All @@ -49,5 +50,6 @@ module Cardano.Api.Eras
)
where

import Cardano.Api.Eon.Convert
import Cardano.Api.Eras.Case
import Cardano.Api.Eras.Core
2 changes: 2 additions & 0 deletions cardano-api/src/Cardano/Api.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ module Cardano.Api
, unFeatured
, asFeaturedInEra
, asFeaturedInShelleyBasedEra
, Convert (..)
, Inject (..)

-- * Eons
Expand Down Expand Up @@ -1045,6 +1046,7 @@ import Cardano.Api.Eon.AllegraEraOnwards
import Cardano.Api.Eon.AlonzoEraOnwards
import Cardano.Api.Eon.BabbageEraOnwards
import Cardano.Api.Eon.ByronToAlonzoEra
import Cardano.Api.Eon.Convert
import Cardano.Api.Eon.ConwayEraOnwards
import Cardano.Api.Eon.MaryEraOnwards
import Cardano.Api.Eon.ShelleyBasedEra
Expand Down

0 comments on commit 8fe5fa1

Please sign in to comment.