From 356e83e1c0f68a7b870b548c55075d33a137376f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Thu, 12 Sep 2024 14:23:06 +0200 Subject: [PATCH] Remove an unused function --- cardano-api/internal/Cardano/Api/Utils.hs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cardano-api/internal/Cardano/Api/Utils.hs b/cardano-api/internal/Cardano/Api/Utils.hs index 3eb0f22ba2..3c8d7cc28a 100644 --- a/cardano-api/internal/Cardano/Api/Utils.hs +++ b/cardano-api/internal/Cardano/Api/Utils.hs @@ -22,7 +22,6 @@ module Cardano.Api.Utils , readFileBlocking , runParsecParser , textShow - , modifyWith -- ** CLI option parsing , unsafeBoundedRational @@ -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