From 7855859c3abbe53875bb237e3baf4773747e75f7 Mon Sep 17 00:00:00 2001 From: xecarlox94 Date: Sun, 20 Oct 2024 21:54:14 +0100 Subject: [PATCH] fixing string issue --- haskell/app/Main.hs | 2 +- haskell/p2prc-haskell.cabal | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/haskell/app/Main.hs b/haskell/app/Main.hs index d011e26..432f862 100644 --- a/haskell/app/Main.hs +++ b/haskell/app/Main.hs @@ -243,7 +243,7 @@ optsToCLI = concatMap _optToCLI _optToCLI :: CLIOpt -> CLIOptsInput _optToCLI MkEmptyOpts = [] _optToCLI (MkOptAtomic o) = [o] - _optToCLI (MkOptTuple (o, v)) = [o, show v] + _optToCLI (MkOptTuple (o, v)) = [o, v] spawnProcP2Prc :: CLICmd -> [CLIOpt] -> IO ProcessHandle diff --git a/haskell/p2prc-haskell.cabal b/haskell/p2prc-haskell.cabal index 5eb92eb..0b20e21 100644 --- a/haskell/p2prc-haskell.cabal +++ b/haskell/p2prc-haskell.cabal @@ -69,7 +69,11 @@ executable p2prc-haskell other-extensions: OverloadedStrings -- Other library packages from which modules are imported. - build-depends: base, text, aeson, process, bytestring + build-depends: base + , text + , aeson + , process + , bytestring -- Directories containing source files. hs-source-dirs: app