Skip to content

Commit

Permalink
Remove an unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Sep 12, 2024
1 parent 93173da commit 356e83e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cardano-api/internal/Cardano/Api/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ module Cardano.Api.Utils
, readFileBlocking
, runParsecParser
, textShow
, modifyWith

-- ** CLI option parsing
, unsafeBoundedRational
Expand Down Expand Up @@ -107,14 +106,6 @@ readFileBlocking path =
textShow :: Show a => a -> Text
textShow = Text.pack . show

-- | Aids type inference. Use this function to ensure the value is a function
-- that modifies a value.
modifyWith
:: ()
=> (a -> a)
-> (a -> a)
modifyWith = id

-- | Convert Rational to a bounded rational. Throw an exception when the rational is out of bounds.
unsafeBoundedRational
:: forall r
Expand Down

0 comments on commit 356e83e

Please sign in to comment.