We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de7b192 commit 44ac1d8Copy full SHA for 44ac1d8
1 file changed
cardano-api/src/Cardano/Api/Era/Internal/Case.hs
@@ -3,6 +3,15 @@
3
{-# LANGUAGE LambdaCase #-}
4
{-# LANGUAGE RankNTypes #-}
5
6
+-- | Era case functions for branching on era types
7
+--
8
+-- DEPRECATION NOTICE: The @case*@ functions in this module are deprecated and will be
9
+-- removed in a future release. They were used for era-based conditional logic but are
10
+-- being phased out in favor of direct pattern matching or other approaches.
11
12
+-- DO NOT add new @case*@ functions to this module. If you need era-based branching,
13
+-- prefer direct pattern matching on era witnesses or use the conversion functions
14
+-- provided by the era system.
15
module Cardano.Api.Era.Internal.Case
16
( -- Case on CardanoEra
17
caseByronOrShelleyBasedEra
0 commit comments