diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build-lock b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build-lock new file mode 100644 index 0000000..e69de29 diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.dyn_hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.dyn_hi new file mode 100644 index 0000000..3a1dffc Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.dyn_o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.dyn_o new file mode 100644 index 0000000..6cbf0ef Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.dyn_o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.hi new file mode 100644 index 0000000..1e26201 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.o new file mode 100644 index 0000000..265d975 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Auxiliaries.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.dyn_hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.dyn_hi new file mode 100644 index 0000000..276c95e Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.dyn_o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.dyn_o new file mode 100644 index 0000000..44bbb7a Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.dyn_o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.hi new file mode 100644 index 0000000..1b1326f Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.o new file mode 100644 index 0000000..1b7878b Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Huffman.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.dyn_hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.dyn_hi new file mode 100644 index 0000000..0c53bb4 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.dyn_o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.dyn_o new file mode 100644 index 0000000..f35c930 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.dyn_o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.hi new file mode 100644 index 0000000..e8aef7f Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.o new file mode 100644 index 0000000..908db63 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/Paths_huffman.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/autogen/Paths_huffman.hs b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/autogen/Paths_huffman.hs new file mode 100644 index 0000000..3025ce5 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/autogen/Paths_huffman.hs @@ -0,0 +1,74 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE NoRebindableSyntax #-} +{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} +{-# OPTIONS_GHC -w #-} +module Paths_huffman ( + version, + getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, + getDataFileName, getSysconfDir + ) where + + +import qualified Control.Exception as Exception +import qualified Data.List as List +import Data.Version (Version(..)) +import System.Environment (getEnv) +import Prelude + + +#if defined(VERSION_base) + +#if MIN_VERSION_base(4,0,0) +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#else +catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a +#endif + +#else +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#endif +catchIO = Exception.catch + +version :: Version +version = Version [0,1] [] + +getDataFileName :: FilePath -> IO FilePath +getDataFileName name = do + dir <- getDataDir + return (dir `joinFileName` name) + +getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath + + + +bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath +bindir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/bin" +libdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-5hb8DvQH04kAhx22YvzXdK" +dynlibdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7" +datadir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/share/x86_64-linux-ghc-9.4.7/huffman-0.1" +libexecdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/libexec/x86_64-linux-ghc-9.4.7/huffman-0.1" +sysconfdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/etc" + +getBinDir = catchIO (getEnv "huffman_bindir") (\_ -> return bindir) +getLibDir = catchIO (getEnv "huffman_libdir") (\_ -> return libdir) +getDynLibDir = catchIO (getEnv "huffman_dynlibdir") (\_ -> return dynlibdir) +getDataDir = catchIO (getEnv "huffman_datadir") (\_ -> return datadir) +getLibexecDir = catchIO (getEnv "huffman_libexecdir") (\_ -> return libexecdir) +getSysconfDir = catchIO (getEnv "huffman_sysconfdir") (\_ -> return sysconfdir) + + + + +joinFileName :: String -> String -> FilePath +joinFileName "" fname = fname +joinFileName "." fname = fname +joinFileName dir "" = dir +joinFileName dir fname + | isPathSeparator (List.last dir) = dir ++ fname + | otherwise = dir ++ pathSeparator : fname + +pathSeparator :: Char +pathSeparator = '/' + +isPathSeparator :: Char -> Bool +isPathSeparator c = c == '/' diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/autogen/cabal_macros.h b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/autogen/cabal_macros.h new file mode 100644 index 0000000..44e9d38 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/autogen/cabal_macros.h @@ -0,0 +1,163 @@ +/* DO NOT EDIT: This file is automatically generated by Cabal */ + +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ +/* package base-4.17.2.0 */ +#ifndef VERSION_base +#define VERSION_base "4.17.2.0" +#endif /* VERSION_base */ +#ifndef MIN_VERSION_base +#define MIN_VERSION_base(major1,major2,minor) (\ + (major1) < 4 || \ + (major1) == 4 && (major2) < 17 || \ + (major1) == 4 && (major2) == 17 && (minor) <= 2) +#endif /* MIN_VERSION_base */ +/* package binary-0.8.9.1 */ +#ifndef VERSION_binary +#define VERSION_binary "0.8.9.1" +#endif /* VERSION_binary */ +#ifndef MIN_VERSION_binary +#define MIN_VERSION_binary(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 8 || \ + (major1) == 0 && (major2) == 8 && (minor) <= 9) +#endif /* MIN_VERSION_binary */ +/* package bytestring-0.11.5.2 */ +#ifndef VERSION_bytestring +#define VERSION_bytestring "0.11.5.2" +#endif /* VERSION_bytestring */ +#ifndef MIN_VERSION_bytestring +#define MIN_VERSION_bytestring(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 11 || \ + (major1) == 0 && (major2) == 11 && (minor) <= 5) +#endif /* MIN_VERSION_bytestring */ +/* package containers-0.6.7 */ +#ifndef VERSION_containers +#define VERSION_containers "0.6.7" +#endif /* VERSION_containers */ +#ifndef MIN_VERSION_containers +#define MIN_VERSION_containers(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 6 || \ + (major1) == 0 && (major2) == 6 && (minor) <= 7) +#endif /* MIN_VERSION_containers */ +/* package filepath-1.4.2.2 */ +#ifndef VERSION_filepath +#define VERSION_filepath "1.4.2.2" +#endif /* VERSION_filepath */ +#ifndef MIN_VERSION_filepath +#define MIN_VERSION_filepath(major1,major2,minor) (\ + (major1) < 1 || \ + (major1) == 1 && (major2) < 4 || \ + (major1) == 1 && (major2) == 4 && (minor) <= 2) +#endif /* MIN_VERSION_filepath */ + +/* tool gcc-13.2.0 */ +#ifndef TOOL_VERSION_gcc +#define TOOL_VERSION_gcc "13.2.0" +#endif /* TOOL_VERSION_gcc */ +#ifndef MIN_TOOL_VERSION_gcc +#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ + (major1) < 13 || \ + (major1) == 13 && (major2) < 2 || \ + (major1) == 13 && (major2) == 2 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_gcc */ +/* tool ghc-9.4.7 */ +#ifndef TOOL_VERSION_ghc +#define TOOL_VERSION_ghc "9.4.7" +#endif /* TOOL_VERSION_ghc */ +#ifndef MIN_TOOL_VERSION_ghc +#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc */ +/* tool ghc-pkg-9.4.7 */ +#ifndef TOOL_VERSION_ghc_pkg +#define TOOL_VERSION_ghc_pkg "9.4.7" +#endif /* TOOL_VERSION_ghc_pkg */ +#ifndef MIN_TOOL_VERSION_ghc_pkg +#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc_pkg */ +/* tool haddock-2.27.0 */ +#ifndef TOOL_VERSION_haddock +#define TOOL_VERSION_haddock "2.27.0" +#endif /* TOOL_VERSION_haddock */ +#ifndef MIN_TOOL_VERSION_haddock +#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 27 || \ + (major1) == 2 && (major2) == 27 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_haddock */ +/* tool hpc-0.68 */ +#ifndef TOOL_VERSION_hpc +#define TOOL_VERSION_hpc "0.68" +#endif /* TOOL_VERSION_hpc */ +#ifndef MIN_TOOL_VERSION_hpc +#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_hpc */ +/* tool hsc2hs-0.68.8 */ +#ifndef TOOL_VERSION_hsc2hs +#define TOOL_VERSION_hsc2hs "0.68.8" +#endif /* TOOL_VERSION_hsc2hs */ +#ifndef MIN_TOOL_VERSION_hsc2hs +#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_hsc2hs */ +/* tool pkg-config-2.0.2 */ +#ifndef TOOL_VERSION_pkg_config +#define TOOL_VERSION_pkg_config "2.0.2" +#endif /* TOOL_VERSION_pkg_config */ +#ifndef MIN_TOOL_VERSION_pkg_config +#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 0 || \ + (major1) == 2 && (major2) == 0 && (minor) <= 2) +#endif /* MIN_TOOL_VERSION_pkg_config */ +/* tool runghc-9.4.7 */ +#ifndef TOOL_VERSION_runghc +#define TOOL_VERSION_runghc "9.4.7" +#endif /* TOOL_VERSION_runghc */ +#ifndef MIN_TOOL_VERSION_runghc +#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_runghc */ +/* tool strip-2.41 */ +#ifndef TOOL_VERSION_strip +#define TOOL_VERSION_strip "2.41" +#endif /* TOOL_VERSION_strip */ +#ifndef MIN_TOOL_VERSION_strip +#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 41 || \ + (major1) == 2 && (major2) == 41 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_strip */ + +#ifndef CURRENT_PACKAGE_KEY +#define CURRENT_PACKAGE_KEY "huffman-0.1-5hb8DvQH04kAhx22YvzXdK" +#endif /* CURRENT_packageKey */ +#ifndef CURRENT_COMPONENT_ID +#define CURRENT_COMPONENT_ID "huffman-0.1-5hb8DvQH04kAhx22YvzXdK" +#endif /* CURRENT_COMPONENT_ID */ +#ifndef CURRENT_PACKAGE_VERSION +#define CURRENT_PACKAGE_VERSION "0.1" +#endif /* CURRENT_PACKAGE_VERSION */ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/autogen/Paths_huffman.hs b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/autogen/Paths_huffman.hs new file mode 100644 index 0000000..4cfd52f --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/autogen/Paths_huffman.hs @@ -0,0 +1,74 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE NoRebindableSyntax #-} +{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} +{-# OPTIONS_GHC -w #-} +module Paths_huffman ( + version, + getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, + getDataFileName, getSysconfDir + ) where + + +import qualified Control.Exception as Exception +import qualified Data.List as List +import Data.Version (Version(..)) +import System.Environment (getEnv) +import Prelude + + +#if defined(VERSION_base) + +#if MIN_VERSION_base(4,0,0) +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#else +catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a +#endif + +#else +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#endif +catchIO = Exception.catch + +version :: Version +version = Version [0,1] [] + +getDataFileName :: FilePath -> IO FilePath +getDataFileName name = do + dir <- getDataDir + return (dir `joinFileName` name) + +getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath + + + +bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath +bindir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/bin" +libdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-7oGsPwnMV4MIdxe92R26Zp-huffman-exe" +dynlibdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7" +datadir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/share/x86_64-linux-ghc-9.4.7/huffman-0.1" +libexecdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/libexec/x86_64-linux-ghc-9.4.7/huffman-0.1" +sysconfdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/etc" + +getBinDir = catchIO (getEnv "huffman_bindir") (\_ -> return bindir) +getLibDir = catchIO (getEnv "huffman_libdir") (\_ -> return libdir) +getDynLibDir = catchIO (getEnv "huffman_dynlibdir") (\_ -> return dynlibdir) +getDataDir = catchIO (getEnv "huffman_datadir") (\_ -> return datadir) +getLibexecDir = catchIO (getEnv "huffman_libexecdir") (\_ -> return libexecdir) +getSysconfDir = catchIO (getEnv "huffman_sysconfdir") (\_ -> return sysconfdir) + + + + +joinFileName :: String -> String -> FilePath +joinFileName "" fname = fname +joinFileName "." fname = fname +joinFileName dir "" = dir +joinFileName dir fname + | isPathSeparator (List.last dir) = dir ++ fname + | otherwise = dir ++ pathSeparator : fname + +pathSeparator :: Char +pathSeparator = '/' + +isPathSeparator :: Char -> Bool +isPathSeparator c = c == '/' diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/autogen/cabal_macros.h b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/autogen/cabal_macros.h new file mode 100644 index 0000000..730a8a5 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/autogen/cabal_macros.h @@ -0,0 +1,130 @@ +/* DO NOT EDIT: This file is automatically generated by Cabal */ + +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ +/* package base-4.17.2.0 */ +#ifndef VERSION_base +#define VERSION_base "4.17.2.0" +#endif /* VERSION_base */ +#ifndef MIN_VERSION_base +#define MIN_VERSION_base(major1,major2,minor) (\ + (major1) < 4 || \ + (major1) == 4 && (major2) < 17 || \ + (major1) == 4 && (major2) == 17 && (minor) <= 2) +#endif /* MIN_VERSION_base */ +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ + +/* tool gcc-13.2.0 */ +#ifndef TOOL_VERSION_gcc +#define TOOL_VERSION_gcc "13.2.0" +#endif /* TOOL_VERSION_gcc */ +#ifndef MIN_TOOL_VERSION_gcc +#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ + (major1) < 13 || \ + (major1) == 13 && (major2) < 2 || \ + (major1) == 13 && (major2) == 2 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_gcc */ +/* tool ghc-9.4.7 */ +#ifndef TOOL_VERSION_ghc +#define TOOL_VERSION_ghc "9.4.7" +#endif /* TOOL_VERSION_ghc */ +#ifndef MIN_TOOL_VERSION_ghc +#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc */ +/* tool ghc-pkg-9.4.7 */ +#ifndef TOOL_VERSION_ghc_pkg +#define TOOL_VERSION_ghc_pkg "9.4.7" +#endif /* TOOL_VERSION_ghc_pkg */ +#ifndef MIN_TOOL_VERSION_ghc_pkg +#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc_pkg */ +/* tool haddock-2.27.0 */ +#ifndef TOOL_VERSION_haddock +#define TOOL_VERSION_haddock "2.27.0" +#endif /* TOOL_VERSION_haddock */ +#ifndef MIN_TOOL_VERSION_haddock +#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 27 || \ + (major1) == 2 && (major2) == 27 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_haddock */ +/* tool hpc-0.68 */ +#ifndef TOOL_VERSION_hpc +#define TOOL_VERSION_hpc "0.68" +#endif /* TOOL_VERSION_hpc */ +#ifndef MIN_TOOL_VERSION_hpc +#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_hpc */ +/* tool hsc2hs-0.68.8 */ +#ifndef TOOL_VERSION_hsc2hs +#define TOOL_VERSION_hsc2hs "0.68.8" +#endif /* TOOL_VERSION_hsc2hs */ +#ifndef MIN_TOOL_VERSION_hsc2hs +#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_hsc2hs */ +/* tool pkg-config-2.0.2 */ +#ifndef TOOL_VERSION_pkg_config +#define TOOL_VERSION_pkg_config "2.0.2" +#endif /* TOOL_VERSION_pkg_config */ +#ifndef MIN_TOOL_VERSION_pkg_config +#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 0 || \ + (major1) == 2 && (major2) == 0 && (minor) <= 2) +#endif /* MIN_TOOL_VERSION_pkg_config */ +/* tool runghc-9.4.7 */ +#ifndef TOOL_VERSION_runghc +#define TOOL_VERSION_runghc "9.4.7" +#endif /* TOOL_VERSION_runghc */ +#ifndef MIN_TOOL_VERSION_runghc +#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_runghc */ +/* tool strip-2.41 */ +#ifndef TOOL_VERSION_strip +#define TOOL_VERSION_strip "2.41" +#endif /* TOOL_VERSION_strip */ +#ifndef MIN_TOOL_VERSION_strip +#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 41 || \ + (major1) == 2 && (major2) == 41 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_strip */ + +#ifndef CURRENT_COMPONENT_ID +#define CURRENT_COMPONENT_ID "huffman-0.1-7oGsPwnMV4MIdxe92R26Zp-huffman-exe" +#endif /* CURRENT_COMPONENT_ID */ +#ifndef CURRENT_PACKAGE_VERSION +#define CURRENT_PACKAGE_VERSION "0.1" +#endif /* CURRENT_PACKAGE_VERSION */ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe new file mode 100755 index 0000000..8b5fe86 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.hi new file mode 100644 index 0000000..daedb78 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.o new file mode 100644 index 0000000..bb568c2 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.hi new file mode 100644 index 0000000..c778008 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.o new file mode 100644 index 0000000..ec002d7 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so new file mode 100755 index 0000000..2bca828 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a new file mode 100644 index 0000000..35162c2 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/autogen/Paths_huffman.hs b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/autogen/Paths_huffman.hs new file mode 100644 index 0000000..a7a9267 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/autogen/Paths_huffman.hs @@ -0,0 +1,74 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE NoRebindableSyntax #-} +{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} +{-# OPTIONS_GHC -w #-} +module Paths_huffman ( + version, + getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, + getDataFileName, getSysconfDir + ) where + + +import qualified Control.Exception as Exception +import qualified Data.List as List +import Data.Version (Version(..)) +import System.Environment (getEnv) +import Prelude + + +#if defined(VERSION_base) + +#if MIN_VERSION_base(4,0,0) +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#else +catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a +#endif + +#else +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#endif +catchIO = Exception.catch + +version :: Version +version = Version [0,1] [] + +getDataFileName :: FilePath -> IO FilePath +getDataFileName name = do + dir <- getDataDir + return (dir `joinFileName` name) + +getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath + + + +bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath +bindir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/bin" +libdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-7He5PbLnsBEFUTWGgrF0f-unit-tests" +dynlibdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7" +datadir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/share/x86_64-linux-ghc-9.4.7/huffman-0.1" +libexecdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/libexec/x86_64-linux-ghc-9.4.7/huffman-0.1" +sysconfdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/etc" + +getBinDir = catchIO (getEnv "huffman_bindir") (\_ -> return bindir) +getLibDir = catchIO (getEnv "huffman_libdir") (\_ -> return libdir) +getDynLibDir = catchIO (getEnv "huffman_dynlibdir") (\_ -> return dynlibdir) +getDataDir = catchIO (getEnv "huffman_datadir") (\_ -> return datadir) +getLibexecDir = catchIO (getEnv "huffman_libexecdir") (\_ -> return libexecdir) +getSysconfDir = catchIO (getEnv "huffman_sysconfdir") (\_ -> return sysconfdir) + + + + +joinFileName :: String -> String -> FilePath +joinFileName "" fname = fname +joinFileName "." fname = fname +joinFileName dir "" = dir +joinFileName dir fname + | isPathSeparator (List.last dir) = dir ++ fname + | otherwise = dir ++ pathSeparator : fname + +pathSeparator :: Char +pathSeparator = '/' + +isPathSeparator :: Char -> Bool +isPathSeparator c = c == '/' diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/autogen/cabal_macros.h b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/autogen/cabal_macros.h new file mode 100644 index 0000000..142dfff --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/autogen/cabal_macros.h @@ -0,0 +1,150 @@ +/* DO NOT EDIT: This file is automatically generated by Cabal */ + +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ +/* package HUnit-1.6.2.0 */ +#ifndef VERSION_HUnit +#define VERSION_HUnit "1.6.2.0" +#endif /* VERSION_HUnit */ +#ifndef MIN_VERSION_HUnit +#define MIN_VERSION_HUnit(major1,major2,minor) (\ + (major1) < 1 || \ + (major1) == 1 && (major2) < 6 || \ + (major1) == 1 && (major2) == 6 && (minor) <= 2) +#endif /* MIN_VERSION_HUnit */ +/* package base-4.17.2.0 */ +#ifndef VERSION_base +#define VERSION_base "4.17.2.0" +#endif /* VERSION_base */ +#ifndef MIN_VERSION_base +#define MIN_VERSION_base(major1,major2,minor) (\ + (major1) < 4 || \ + (major1) == 4 && (major2) < 17 || \ + (major1) == 4 && (major2) == 17 && (minor) <= 2) +#endif /* MIN_VERSION_base */ +/* package containers-0.6.7 */ +#ifndef VERSION_containers +#define VERSION_containers "0.6.7" +#endif /* VERSION_containers */ +#ifndef MIN_VERSION_containers +#define MIN_VERSION_containers(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 6 || \ + (major1) == 0 && (major2) == 6 && (minor) <= 7) +#endif /* MIN_VERSION_containers */ +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ + +/* tool gcc-13.2.0 */ +#ifndef TOOL_VERSION_gcc +#define TOOL_VERSION_gcc "13.2.0" +#endif /* TOOL_VERSION_gcc */ +#ifndef MIN_TOOL_VERSION_gcc +#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ + (major1) < 13 || \ + (major1) == 13 && (major2) < 2 || \ + (major1) == 13 && (major2) == 2 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_gcc */ +/* tool ghc-9.4.7 */ +#ifndef TOOL_VERSION_ghc +#define TOOL_VERSION_ghc "9.4.7" +#endif /* TOOL_VERSION_ghc */ +#ifndef MIN_TOOL_VERSION_ghc +#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc */ +/* tool ghc-pkg-9.4.7 */ +#ifndef TOOL_VERSION_ghc_pkg +#define TOOL_VERSION_ghc_pkg "9.4.7" +#endif /* TOOL_VERSION_ghc_pkg */ +#ifndef MIN_TOOL_VERSION_ghc_pkg +#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc_pkg */ +/* tool haddock-2.27.0 */ +#ifndef TOOL_VERSION_haddock +#define TOOL_VERSION_haddock "2.27.0" +#endif /* TOOL_VERSION_haddock */ +#ifndef MIN_TOOL_VERSION_haddock +#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 27 || \ + (major1) == 2 && (major2) == 27 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_haddock */ +/* tool hpc-0.68 */ +#ifndef TOOL_VERSION_hpc +#define TOOL_VERSION_hpc "0.68" +#endif /* TOOL_VERSION_hpc */ +#ifndef MIN_TOOL_VERSION_hpc +#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_hpc */ +/* tool hsc2hs-0.68.8 */ +#ifndef TOOL_VERSION_hsc2hs +#define TOOL_VERSION_hsc2hs "0.68.8" +#endif /* TOOL_VERSION_hsc2hs */ +#ifndef MIN_TOOL_VERSION_hsc2hs +#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_hsc2hs */ +/* tool pkg-config-2.0.2 */ +#ifndef TOOL_VERSION_pkg_config +#define TOOL_VERSION_pkg_config "2.0.2" +#endif /* TOOL_VERSION_pkg_config */ +#ifndef MIN_TOOL_VERSION_pkg_config +#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 0 || \ + (major1) == 2 && (major2) == 0 && (minor) <= 2) +#endif /* MIN_TOOL_VERSION_pkg_config */ +/* tool runghc-9.4.7 */ +#ifndef TOOL_VERSION_runghc +#define TOOL_VERSION_runghc "9.4.7" +#endif /* TOOL_VERSION_runghc */ +#ifndef MIN_TOOL_VERSION_runghc +#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_runghc */ +/* tool strip-2.41 */ +#ifndef TOOL_VERSION_strip +#define TOOL_VERSION_strip "2.41" +#endif /* TOOL_VERSION_strip */ +#ifndef MIN_TOOL_VERSION_strip +#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 41 || \ + (major1) == 2 && (major2) == 41 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_strip */ + +#ifndef CURRENT_COMPONENT_ID +#define CURRENT_COMPONENT_ID "huffman-0.1-7He5PbLnsBEFUTWGgrF0f-unit-tests" +#endif /* CURRENT_COMPONENT_ID */ +#ifndef CURRENT_PACKAGE_VERSION +#define CURRENT_PACKAGE_VERSION "0.1" +#endif /* CURRENT_PACKAGE_VERSION */ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests new file mode 100755 index 0000000..3276e8b Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.hi new file mode 100644 index 0000000..84adfda Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.o new file mode 100644 index 0000000..4f8e5b4 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.hi new file mode 100644 index 0000000..0e6c77a Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.o new file mode 100644 index 0000000..60b8055 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/package.conf.inplace/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/package.conf.inplace/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf new file mode 100644 index 0000000..173f4f4 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/package.conf.inplace/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf @@ -0,0 +1,36 @@ +name: huffman +version: 0.1 +visibility: public +id: huffman-0.1-FYSjga9JLF2kZjOZ6zeLt +key: huffman-0.1-FYSjga9JLF2kZjOZ6zeLt +license: BSD-3-Clause +synopsis: huffman +abi: inplace +exposed: True +exposed-modules: Auxiliaries Huffman +hidden-modules: Paths_huffman +import-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build + +library-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build + +library-dirs-static: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build + +dynamic-library-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build + +data-dir: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/. + +hs-libraries: HShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt +depends: + base-4.17.2.0 binary-0.8.9.1 bytestring-0.11.5.2 containers-0.6.7 + filepath-1.4.2.2 + +haddock-interfaces: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/doc/html/huffman/huffman.haddock + +haddock-html: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/doc/html/huffman diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/package.conf.inplace/package.cache b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/package.conf.inplace/package.cache new file mode 100644 index 0000000..31a42bd Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/package.conf.inplace/package.cache differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/package.conf.inplace/package.cache.lock b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/package.conf.inplace/package.cache.lock new file mode 100644 index 0000000..e69de29 diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/setup-config b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/setup-config new file mode 100644 index 0000000..611545b Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/setup-config differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-build-caches/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/exe-huffman-exe b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-build-caches/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/exe-huffman-exe new file mode 100644 index 0000000..339afed --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-build-caches/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/exe-huffman-exe @@ -0,0 +1,14 @@ +/home/a/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7/lib/ghc-9.4.7/lib/x86_64-linux-ghc-9.4.7/rts-1.0.2/include/ghcversion.h: + hash: ee548d48ca5c94d7c7fab127ec07be47b01afa24d6495358aa9ff6cfc8541c81 +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/autogen/Paths_huffman.hs +: hash: b15e189b9838e57edd6028c38f2598e55b45595b0cc55b7b35198cbcafb50927 +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/huffman-exe/autogen/cabal_macros.h +: hash: 984fbe00273199c3b3c0245c67cc83e1c0fd8801df3b90d8ea2d3c26d6cad016 +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/exe/Main.hs: + hash: bc321c5e6dea106198eca53ccb8e31b17746ac198c7de206483c2989e73b1fd0 +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/huffman.cabal: + hash: 0f828acaf94c12587e96d013bb3f48a4c4abac1e2efe6cce31dbffe48864d1f2 +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/package.yaml: + hash: e9fcddf7857388c0e51188152e25a1d446e2e46628ed45552bdc3b635472171c +/usr/include/stdc-predef.h: + hash: cb08cd5d4cc059a90833ac48a284d25016e8d56ded8ad4cd98d8ac59cc5053f3 diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-build-caches/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/lib b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-build-caches/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/lib new file mode 100644 index 0000000..ac94add --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-build-caches/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/lib @@ -0,0 +1,16 @@ +/home/a/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7/lib/ghc-9.4.7/lib/x86_64-linux-ghc-9.4.7/rts-1.0.2/include/ghcversion.h: + hash: ee548d48ca5c94d7c7fab127ec07be47b01afa24d6495358aa9ff6cfc8541c81 +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/autogen/Paths_huffman.hs +: hash: 0f5d9d956f31e8c6a68b26ca6083ae81661060751662b44ac00ea70a5fe92429 +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/autogen/cabal_macros.h +: hash: b41c8592558dfde5718891a18c4651ae014a36e987c1cecc07d57cb850566cfd +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/huffman.cabal: + hash: 0f828acaf94c12587e96d013bb3f48a4c4abac1e2efe6cce31dbffe48864d1f2 +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/package.yaml: + hash: e9fcddf7857388c0e51188152e25a1d446e2e46628ed45552bdc3b635472171c +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/src/Auxiliaries.hs: + hash: 5a404af397ad51d6d268ac0a318157dd9511d113c3fbfce35cc238d42974425f +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/src/Huffman.hs: + hash: 1b29fc97096619ea9ad23fed2cec1c7fe3dba71e1248ccf97b4c18065a61b69b +/usr/include/stdc-predef.h: + hash: cb08cd5d4cc059a90833ac48a284d25016e8d56ded8ad4cd98d8ac59cc5053f3 diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-build-caches/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/test-unit-tests b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-build-caches/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/test-unit-tests new file mode 100644 index 0000000..28d24eb --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-build-caches/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/test-unit-tests @@ -0,0 +1,14 @@ +/home/a/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.7/lib/ghc-9.4.7/lib/x86_64-linux-ghc-9.4.7/rts-1.0.2/include/ghcversion.h: + hash: ee548d48ca5c94d7c7fab127ec07be47b01afa24d6495358aa9ff6cfc8541c81 +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/autogen/Paths_huffman.hs +: hash: 79a5e84d4d9d3afa359edff41dcbbac8b535ca4ed5c2267bd9dc2aa32ee7a33c +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/build/unit-tests/autogen/cabal_macros.h +: hash: e2ffe8028e0e1bfa5ff1ff70f46029ac3053c02ed7508e60752b5a727919257c +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/huffman.cabal: + hash: 0f828acaf94c12587e96d013bb3f48a4c4abac1e2efe6cce31dbffe48864d1f2 +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/package.yaml: + hash: e9fcddf7857388c0e51188152e25a1d446e2e46628ed45552bdc3b635472171c +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/test/Tests.hs: + hash: 0189e9ebf9498389b73efcb50cf30fc46f21889d0185d806168aff69fa099fe1 +/usr/include/stdc-predef.h: + hash: cb08cd5d4cc059a90833ac48a284d25016e8d56ded8ad4cd98d8ac59cc5053f3 diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-cabal-mod b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-cabal-mod new file mode 100644 index 0000000..5b04457 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-cabal-mod @@ -0,0 +1 @@ +Just used for its modification time \ No newline at end of file diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-project-root b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-project-root new file mode 100644 index 0000000..e968d5a --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-project-root @@ -0,0 +1 @@ +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/ \ No newline at end of file diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-setup-config-mod b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-setup-config-mod new file mode 100644 index 0000000..5b04457 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-setup-config-mod @@ -0,0 +1 @@ +Just used for its modification time \ No newline at end of file diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-test-success b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-test-success new file mode 100644 index 0000000..0f0c913 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux-tinfo6/ghc-9.4.7/stack-test-success @@ -0,0 +1 @@ +success \ No newline at end of file diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build-lock b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build-lock new file mode 100644 index 0000000..e69de29 diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.dyn_hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.dyn_hi new file mode 100644 index 0000000..0eca055 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.dyn_o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.dyn_o new file mode 100644 index 0000000..e187ca4 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.dyn_o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.hi new file mode 100644 index 0000000..a45a2c0 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.o new file mode 100644 index 0000000..86d4eab Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Auxiliaries.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.dyn_hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.dyn_hi new file mode 100644 index 0000000..34bdd9b Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.dyn_o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.dyn_o new file mode 100644 index 0000000..6478b9f Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.dyn_o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.hi new file mode 100644 index 0000000..31f8184 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.o new file mode 100644 index 0000000..7191755 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Huffman.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.dyn_hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.dyn_hi new file mode 100644 index 0000000..a9ac9cd Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.dyn_o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.dyn_o new file mode 100644 index 0000000..a0296b2 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.dyn_o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.hi new file mode 100644 index 0000000..db3d9bb Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.o new file mode 100644 index 0000000..a6822d2 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/Paths_huffman.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/autogen/Paths_huffman.hs b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/autogen/Paths_huffman.hs new file mode 100644 index 0000000..60301b0 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/autogen/Paths_huffman.hs @@ -0,0 +1,74 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE NoRebindableSyntax #-} +{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} +{-# OPTIONS_GHC -w #-} +module Paths_huffman ( + version, + getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, + getDataFileName, getSysconfDir + ) where + + +import qualified Control.Exception as Exception +import qualified Data.List as List +import Data.Version (Version(..)) +import System.Environment (getEnv) +import Prelude + + +#if defined(VERSION_base) + +#if MIN_VERSION_base(4,0,0) +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#else +catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a +#endif + +#else +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#endif +catchIO = Exception.catch + +version :: Version +version = Version [0,1] [] + +getDataFileName :: FilePath -> IO FilePath +getDataFileName name = do + dir <- getDataDir + return (dir `joinFileName` name) + +getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath + + + +bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath +bindir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/bin" +libdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt" +dynlibdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7" +datadir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/share/x86_64-linux-ghc-9.4.7/huffman-0.1" +libexecdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/libexec/x86_64-linux-ghc-9.4.7/huffman-0.1" +sysconfdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/etc" + +getBinDir = catchIO (getEnv "huffman_bindir") (\_ -> return bindir) +getLibDir = catchIO (getEnv "huffman_libdir") (\_ -> return libdir) +getDynLibDir = catchIO (getEnv "huffman_dynlibdir") (\_ -> return dynlibdir) +getDataDir = catchIO (getEnv "huffman_datadir") (\_ -> return datadir) +getLibexecDir = catchIO (getEnv "huffman_libexecdir") (\_ -> return libexecdir) +getSysconfDir = catchIO (getEnv "huffman_sysconfdir") (\_ -> return sysconfdir) + + + + +joinFileName :: String -> String -> FilePath +joinFileName "" fname = fname +joinFileName "." fname = fname +joinFileName dir "" = dir +joinFileName dir fname + | isPathSeparator (List.last dir) = dir ++ fname + | otherwise = dir ++ pathSeparator : fname + +pathSeparator :: Char +pathSeparator = '/' + +isPathSeparator :: Char -> Bool +isPathSeparator c = c == '/' diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/autogen/cabal_macros.h b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/autogen/cabal_macros.h new file mode 100644 index 0000000..701a700 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/autogen/cabal_macros.h @@ -0,0 +1,163 @@ +/* DO NOT EDIT: This file is automatically generated by Cabal */ + +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ +/* package base-4.17.2.0 */ +#ifndef VERSION_base +#define VERSION_base "4.17.2.0" +#endif /* VERSION_base */ +#ifndef MIN_VERSION_base +#define MIN_VERSION_base(major1,major2,minor) (\ + (major1) < 4 || \ + (major1) == 4 && (major2) < 17 || \ + (major1) == 4 && (major2) == 17 && (minor) <= 2) +#endif /* MIN_VERSION_base */ +/* package binary-0.8.9.1 */ +#ifndef VERSION_binary +#define VERSION_binary "0.8.9.1" +#endif /* VERSION_binary */ +#ifndef MIN_VERSION_binary +#define MIN_VERSION_binary(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 8 || \ + (major1) == 0 && (major2) == 8 && (minor) <= 9) +#endif /* MIN_VERSION_binary */ +/* package bytestring-0.11.5.2 */ +#ifndef VERSION_bytestring +#define VERSION_bytestring "0.11.5.2" +#endif /* VERSION_bytestring */ +#ifndef MIN_VERSION_bytestring +#define MIN_VERSION_bytestring(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 11 || \ + (major1) == 0 && (major2) == 11 && (minor) <= 5) +#endif /* MIN_VERSION_bytestring */ +/* package containers-0.6.7 */ +#ifndef VERSION_containers +#define VERSION_containers "0.6.7" +#endif /* VERSION_containers */ +#ifndef MIN_VERSION_containers +#define MIN_VERSION_containers(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 6 || \ + (major1) == 0 && (major2) == 6 && (minor) <= 7) +#endif /* MIN_VERSION_containers */ +/* package filepath-1.4.2.2 */ +#ifndef VERSION_filepath +#define VERSION_filepath "1.4.2.2" +#endif /* VERSION_filepath */ +#ifndef MIN_VERSION_filepath +#define MIN_VERSION_filepath(major1,major2,minor) (\ + (major1) < 1 || \ + (major1) == 1 && (major2) < 4 || \ + (major1) == 1 && (major2) == 4 && (minor) <= 2) +#endif /* MIN_VERSION_filepath */ + +/* tool gcc-13.2.0 */ +#ifndef TOOL_VERSION_gcc +#define TOOL_VERSION_gcc "13.2.0" +#endif /* TOOL_VERSION_gcc */ +#ifndef MIN_TOOL_VERSION_gcc +#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ + (major1) < 13 || \ + (major1) == 13 && (major2) < 2 || \ + (major1) == 13 && (major2) == 2 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_gcc */ +/* tool ghc-9.4.7 */ +#ifndef TOOL_VERSION_ghc +#define TOOL_VERSION_ghc "9.4.7" +#endif /* TOOL_VERSION_ghc */ +#ifndef MIN_TOOL_VERSION_ghc +#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc */ +/* tool ghc-pkg-9.4.7 */ +#ifndef TOOL_VERSION_ghc_pkg +#define TOOL_VERSION_ghc_pkg "9.4.7" +#endif /* TOOL_VERSION_ghc_pkg */ +#ifndef MIN_TOOL_VERSION_ghc_pkg +#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc_pkg */ +/* tool haddock-2.27.0 */ +#ifndef TOOL_VERSION_haddock +#define TOOL_VERSION_haddock "2.27.0" +#endif /* TOOL_VERSION_haddock */ +#ifndef MIN_TOOL_VERSION_haddock +#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 27 || \ + (major1) == 2 && (major2) == 27 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_haddock */ +/* tool hpc-0.68 */ +#ifndef TOOL_VERSION_hpc +#define TOOL_VERSION_hpc "0.68" +#endif /* TOOL_VERSION_hpc */ +#ifndef MIN_TOOL_VERSION_hpc +#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_hpc */ +/* tool hsc2hs-0.68.8 */ +#ifndef TOOL_VERSION_hsc2hs +#define TOOL_VERSION_hsc2hs "0.68.8" +#endif /* TOOL_VERSION_hsc2hs */ +#ifndef MIN_TOOL_VERSION_hsc2hs +#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_hsc2hs */ +/* tool pkg-config-2.0.2 */ +#ifndef TOOL_VERSION_pkg_config +#define TOOL_VERSION_pkg_config "2.0.2" +#endif /* TOOL_VERSION_pkg_config */ +#ifndef MIN_TOOL_VERSION_pkg_config +#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 0 || \ + (major1) == 2 && (major2) == 0 && (minor) <= 2) +#endif /* MIN_TOOL_VERSION_pkg_config */ +/* tool runghc-9.4.7 */ +#ifndef TOOL_VERSION_runghc +#define TOOL_VERSION_runghc "9.4.7" +#endif /* TOOL_VERSION_runghc */ +#ifndef MIN_TOOL_VERSION_runghc +#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_runghc */ +/* tool strip-2.41 */ +#ifndef TOOL_VERSION_strip +#define TOOL_VERSION_strip "2.41" +#endif /* TOOL_VERSION_strip */ +#ifndef MIN_TOOL_VERSION_strip +#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 41 || \ + (major1) == 2 && (major2) == 41 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_strip */ + +#ifndef CURRENT_PACKAGE_KEY +#define CURRENT_PACKAGE_KEY "huffman-0.1-FYSjga9JLF2kZjOZ6zeLt" +#endif /* CURRENT_packageKey */ +#ifndef CURRENT_COMPONENT_ID +#define CURRENT_COMPONENT_ID "huffman-0.1-FYSjga9JLF2kZjOZ6zeLt" +#endif /* CURRENT_COMPONENT_ID */ +#ifndef CURRENT_PACKAGE_VERSION +#define CURRENT_PACKAGE_VERSION "0.1" +#endif /* CURRENT_PACKAGE_VERSION */ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/autogen/Paths_huffman.hs b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/autogen/Paths_huffman.hs new file mode 100644 index 0000000..9f5878a --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/autogen/Paths_huffman.hs @@ -0,0 +1,74 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE NoRebindableSyntax #-} +{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} +{-# OPTIONS_GHC -w #-} +module Paths_huffman ( + version, + getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, + getDataFileName, getSysconfDir + ) where + + +import qualified Control.Exception as Exception +import qualified Data.List as List +import Data.Version (Version(..)) +import System.Environment (getEnv) +import Prelude + + +#if defined(VERSION_base) + +#if MIN_VERSION_base(4,0,0) +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#else +catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a +#endif + +#else +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#endif +catchIO = Exception.catch + +version :: Version +version = Version [0,1] [] + +getDataFileName :: FilePath -> IO FilePath +getDataFileName name = do + dir <- getDataDir + return (dir `joinFileName` name) + +getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath + + + +bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath +bindir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/bin" +libdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-23WUwl30C5UEHpdRSzT9lV-huffman-exe" +dynlibdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7" +datadir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/share/x86_64-linux-ghc-9.4.7/huffman-0.1" +libexecdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/libexec/x86_64-linux-ghc-9.4.7/huffman-0.1" +sysconfdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/etc" + +getBinDir = catchIO (getEnv "huffman_bindir") (\_ -> return bindir) +getLibDir = catchIO (getEnv "huffman_libdir") (\_ -> return libdir) +getDynLibDir = catchIO (getEnv "huffman_dynlibdir") (\_ -> return dynlibdir) +getDataDir = catchIO (getEnv "huffman_datadir") (\_ -> return datadir) +getLibexecDir = catchIO (getEnv "huffman_libexecdir") (\_ -> return libexecdir) +getSysconfDir = catchIO (getEnv "huffman_sysconfdir") (\_ -> return sysconfdir) + + + + +joinFileName :: String -> String -> FilePath +joinFileName "" fname = fname +joinFileName "." fname = fname +joinFileName dir "" = dir +joinFileName dir fname + | isPathSeparator (List.last dir) = dir ++ fname + | otherwise = dir ++ pathSeparator : fname + +pathSeparator :: Char +pathSeparator = '/' + +isPathSeparator :: Char -> Bool +isPathSeparator c = c == '/' diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/autogen/cabal_macros.h b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/autogen/cabal_macros.h new file mode 100644 index 0000000..8e5225e --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/autogen/cabal_macros.h @@ -0,0 +1,130 @@ +/* DO NOT EDIT: This file is automatically generated by Cabal */ + +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ +/* package base-4.17.2.0 */ +#ifndef VERSION_base +#define VERSION_base "4.17.2.0" +#endif /* VERSION_base */ +#ifndef MIN_VERSION_base +#define MIN_VERSION_base(major1,major2,minor) (\ + (major1) < 4 || \ + (major1) == 4 && (major2) < 17 || \ + (major1) == 4 && (major2) == 17 && (minor) <= 2) +#endif /* MIN_VERSION_base */ +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ + +/* tool gcc-13.2.0 */ +#ifndef TOOL_VERSION_gcc +#define TOOL_VERSION_gcc "13.2.0" +#endif /* TOOL_VERSION_gcc */ +#ifndef MIN_TOOL_VERSION_gcc +#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ + (major1) < 13 || \ + (major1) == 13 && (major2) < 2 || \ + (major1) == 13 && (major2) == 2 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_gcc */ +/* tool ghc-9.4.7 */ +#ifndef TOOL_VERSION_ghc +#define TOOL_VERSION_ghc "9.4.7" +#endif /* TOOL_VERSION_ghc */ +#ifndef MIN_TOOL_VERSION_ghc +#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc */ +/* tool ghc-pkg-9.4.7 */ +#ifndef TOOL_VERSION_ghc_pkg +#define TOOL_VERSION_ghc_pkg "9.4.7" +#endif /* TOOL_VERSION_ghc_pkg */ +#ifndef MIN_TOOL_VERSION_ghc_pkg +#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc_pkg */ +/* tool haddock-2.27.0 */ +#ifndef TOOL_VERSION_haddock +#define TOOL_VERSION_haddock "2.27.0" +#endif /* TOOL_VERSION_haddock */ +#ifndef MIN_TOOL_VERSION_haddock +#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 27 || \ + (major1) == 2 && (major2) == 27 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_haddock */ +/* tool hpc-0.68 */ +#ifndef TOOL_VERSION_hpc +#define TOOL_VERSION_hpc "0.68" +#endif /* TOOL_VERSION_hpc */ +#ifndef MIN_TOOL_VERSION_hpc +#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_hpc */ +/* tool hsc2hs-0.68.8 */ +#ifndef TOOL_VERSION_hsc2hs +#define TOOL_VERSION_hsc2hs "0.68.8" +#endif /* TOOL_VERSION_hsc2hs */ +#ifndef MIN_TOOL_VERSION_hsc2hs +#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_hsc2hs */ +/* tool pkg-config-2.0.2 */ +#ifndef TOOL_VERSION_pkg_config +#define TOOL_VERSION_pkg_config "2.0.2" +#endif /* TOOL_VERSION_pkg_config */ +#ifndef MIN_TOOL_VERSION_pkg_config +#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 0 || \ + (major1) == 2 && (major2) == 0 && (minor) <= 2) +#endif /* MIN_TOOL_VERSION_pkg_config */ +/* tool runghc-9.4.7 */ +#ifndef TOOL_VERSION_runghc +#define TOOL_VERSION_runghc "9.4.7" +#endif /* TOOL_VERSION_runghc */ +#ifndef MIN_TOOL_VERSION_runghc +#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_runghc */ +/* tool strip-2.41 */ +#ifndef TOOL_VERSION_strip +#define TOOL_VERSION_strip "2.41" +#endif /* TOOL_VERSION_strip */ +#ifndef MIN_TOOL_VERSION_strip +#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 41 || \ + (major1) == 2 && (major2) == 41 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_strip */ + +#ifndef CURRENT_COMPONENT_ID +#define CURRENT_COMPONENT_ID "huffman-0.1-23WUwl30C5UEHpdRSzT9lV-huffman-exe" +#endif /* CURRENT_COMPONENT_ID */ +#ifndef CURRENT_PACKAGE_VERSION +#define CURRENT_PACKAGE_VERSION "0.1" +#endif /* CURRENT_PACKAGE_VERSION */ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe new file mode 100755 index 0000000..c0504f5 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.hi new file mode 100644 index 0000000..299d17a Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.o new file mode 100644 index 0000000..7418615 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Main.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.hi new file mode 100644 index 0000000..3911107 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.o new file mode 100644 index 0000000..e08aafc Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/huffman-exe-tmp/Paths_huffman.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so new file mode 100755 index 0000000..7a1225f Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a new file mode 100644 index 0000000..ed1d44a Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/autogen/Paths_huffman.hs b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/autogen/Paths_huffman.hs new file mode 100644 index 0000000..c46d9e6 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/autogen/Paths_huffman.hs @@ -0,0 +1,74 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE NoRebindableSyntax #-} +{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} +{-# OPTIONS_GHC -w #-} +module Paths_huffman ( + version, + getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, + getDataFileName, getSysconfDir + ) where + + +import qualified Control.Exception as Exception +import qualified Data.List as List +import Data.Version (Version(..)) +import System.Environment (getEnv) +import Prelude + + +#if defined(VERSION_base) + +#if MIN_VERSION_base(4,0,0) +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#else +catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a +#endif + +#else +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#endif +catchIO = Exception.catch + +version :: Version +version = Version [0,1] [] + +getDataFileName :: FilePath -> IO FilePath +getDataFileName name = do + dir <- getDataDir + return (dir `joinFileName` name) + +getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath + + + +bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath +bindir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/bin" +libdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-7He5PbLnsBEFUTWGgrF0f-unit-tests" +dynlibdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7" +datadir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/share/x86_64-linux-ghc-9.4.7/huffman-0.1" +libexecdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/libexec/x86_64-linux-ghc-9.4.7/huffman-0.1" +sysconfdir = "/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/etc" + +getBinDir = catchIO (getEnv "huffman_bindir") (\_ -> return bindir) +getLibDir = catchIO (getEnv "huffman_libdir") (\_ -> return libdir) +getDynLibDir = catchIO (getEnv "huffman_dynlibdir") (\_ -> return dynlibdir) +getDataDir = catchIO (getEnv "huffman_datadir") (\_ -> return datadir) +getLibexecDir = catchIO (getEnv "huffman_libexecdir") (\_ -> return libexecdir) +getSysconfDir = catchIO (getEnv "huffman_sysconfdir") (\_ -> return sysconfdir) + + + + +joinFileName :: String -> String -> FilePath +joinFileName "" fname = fname +joinFileName "." fname = fname +joinFileName dir "" = dir +joinFileName dir fname + | isPathSeparator (List.last dir) = dir ++ fname + | otherwise = dir ++ pathSeparator : fname + +pathSeparator :: Char +pathSeparator = '/' + +isPathSeparator :: Char -> Bool +isPathSeparator c = c == '/' diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/autogen/cabal_macros.h b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/autogen/cabal_macros.h new file mode 100644 index 0000000..142dfff --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/autogen/cabal_macros.h @@ -0,0 +1,150 @@ +/* DO NOT EDIT: This file is automatically generated by Cabal */ + +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ +/* package HUnit-1.6.2.0 */ +#ifndef VERSION_HUnit +#define VERSION_HUnit "1.6.2.0" +#endif /* VERSION_HUnit */ +#ifndef MIN_VERSION_HUnit +#define MIN_VERSION_HUnit(major1,major2,minor) (\ + (major1) < 1 || \ + (major1) == 1 && (major2) < 6 || \ + (major1) == 1 && (major2) == 6 && (minor) <= 2) +#endif /* MIN_VERSION_HUnit */ +/* package base-4.17.2.0 */ +#ifndef VERSION_base +#define VERSION_base "4.17.2.0" +#endif /* VERSION_base */ +#ifndef MIN_VERSION_base +#define MIN_VERSION_base(major1,major2,minor) (\ + (major1) < 4 || \ + (major1) == 4 && (major2) < 17 || \ + (major1) == 4 && (major2) == 17 && (minor) <= 2) +#endif /* MIN_VERSION_base */ +/* package containers-0.6.7 */ +#ifndef VERSION_containers +#define VERSION_containers "0.6.7" +#endif /* VERSION_containers */ +#ifndef MIN_VERSION_containers +#define MIN_VERSION_containers(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 6 || \ + (major1) == 0 && (major2) == 6 && (minor) <= 7) +#endif /* MIN_VERSION_containers */ +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ + +/* tool gcc-13.2.0 */ +#ifndef TOOL_VERSION_gcc +#define TOOL_VERSION_gcc "13.2.0" +#endif /* TOOL_VERSION_gcc */ +#ifndef MIN_TOOL_VERSION_gcc +#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ + (major1) < 13 || \ + (major1) == 13 && (major2) < 2 || \ + (major1) == 13 && (major2) == 2 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_gcc */ +/* tool ghc-9.4.7 */ +#ifndef TOOL_VERSION_ghc +#define TOOL_VERSION_ghc "9.4.7" +#endif /* TOOL_VERSION_ghc */ +#ifndef MIN_TOOL_VERSION_ghc +#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc */ +/* tool ghc-pkg-9.4.7 */ +#ifndef TOOL_VERSION_ghc_pkg +#define TOOL_VERSION_ghc_pkg "9.4.7" +#endif /* TOOL_VERSION_ghc_pkg */ +#ifndef MIN_TOOL_VERSION_ghc_pkg +#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc_pkg */ +/* tool haddock-2.27.0 */ +#ifndef TOOL_VERSION_haddock +#define TOOL_VERSION_haddock "2.27.0" +#endif /* TOOL_VERSION_haddock */ +#ifndef MIN_TOOL_VERSION_haddock +#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 27 || \ + (major1) == 2 && (major2) == 27 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_haddock */ +/* tool hpc-0.68 */ +#ifndef TOOL_VERSION_hpc +#define TOOL_VERSION_hpc "0.68" +#endif /* TOOL_VERSION_hpc */ +#ifndef MIN_TOOL_VERSION_hpc +#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_hpc */ +/* tool hsc2hs-0.68.8 */ +#ifndef TOOL_VERSION_hsc2hs +#define TOOL_VERSION_hsc2hs "0.68.8" +#endif /* TOOL_VERSION_hsc2hs */ +#ifndef MIN_TOOL_VERSION_hsc2hs +#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_hsc2hs */ +/* tool pkg-config-2.0.2 */ +#ifndef TOOL_VERSION_pkg_config +#define TOOL_VERSION_pkg_config "2.0.2" +#endif /* TOOL_VERSION_pkg_config */ +#ifndef MIN_TOOL_VERSION_pkg_config +#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 0 || \ + (major1) == 2 && (major2) == 0 && (minor) <= 2) +#endif /* MIN_TOOL_VERSION_pkg_config */ +/* tool runghc-9.4.7 */ +#ifndef TOOL_VERSION_runghc +#define TOOL_VERSION_runghc "9.4.7" +#endif /* TOOL_VERSION_runghc */ +#ifndef MIN_TOOL_VERSION_runghc +#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_runghc */ +/* tool strip-2.41 */ +#ifndef TOOL_VERSION_strip +#define TOOL_VERSION_strip "2.41" +#endif /* TOOL_VERSION_strip */ +#ifndef MIN_TOOL_VERSION_strip +#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 41 || \ + (major1) == 2 && (major2) == 41 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_strip */ + +#ifndef CURRENT_COMPONENT_ID +#define CURRENT_COMPONENT_ID "huffman-0.1-7He5PbLnsBEFUTWGgrF0f-unit-tests" +#endif /* CURRENT_COMPONENT_ID */ +#ifndef CURRENT_PACKAGE_VERSION +#define CURRENT_PACKAGE_VERSION "0.1" +#endif /* CURRENT_PACKAGE_VERSION */ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests new file mode 100755 index 0000000..b723965 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.hi new file mode 100644 index 0000000..4412aed Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.o new file mode 100644 index 0000000..9e75721 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Main.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.hi b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.hi new file mode 100644 index 0000000..733f722 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.o b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.o new file mode 100644 index 0000000..0877293 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/unit-tests-tmp/Paths_huffman.o differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/package.conf.inplace/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/package.conf.inplace/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf new file mode 100644 index 0000000..7869a7d --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/package.conf.inplace/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf @@ -0,0 +1,36 @@ +name: huffman +version: 0.1 +visibility: public +id: huffman-0.1-FYSjga9JLF2kZjOZ6zeLt +key: huffman-0.1-FYSjga9JLF2kZjOZ6zeLt +license: BSD-3-Clause +synopsis: huffman +abi: inplace +exposed: True +exposed-modules: Auxiliaries Huffman +hidden-modules: Paths_huffman +import-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build + +library-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build + +library-dirs-static: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build + +dynamic-library-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build + +data-dir: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/. + +hs-libraries: HShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt +depends: + base-4.17.2.0 binary-0.8.9.1 bytestring-0.11.5.2 containers-0.6.7 + filepath-1.4.2.2 + +haddock-interfaces: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/doc/html/huffman/huffman.haddock + +haddock-html: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/doc/html/huffman diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/package.conf.inplace/package.cache b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/package.conf.inplace/package.cache new file mode 100644 index 0000000..3d57fa8 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/package.conf.inplace/package.cache differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/package.conf.inplace/package.cache.lock b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/package.conf.inplace/package.cache.lock new file mode 100644 index 0000000..e69de29 diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/setup-config b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/setup-config new file mode 100644 index 0000000..7a1700b Binary files /dev/null and b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/setup-config differ diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-build-caches/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/exe-huffman-exe b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-build-caches/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/exe-huffman-exe new file mode 100644 index 0000000..e0e7c4f --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-build-caches/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/exe-huffman-exe @@ -0,0 +1,14 @@ +/home/a/.ghcup/ghc/9.4.7/lib/ghc-9.4.7/lib/x86_64-linux-ghc-9.4.7/rts-1.0.2/include/ghcversion.h: + hash: ee548d48ca5c94d7c7fab127ec07be47b01afa24d6495358aa9ff6cfc8541c81 +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/autogen/Paths_huffman.hs +: hash: b11bc32ca9de85113f464bb2022fe3714394630752e2c6fc485d19c06939383f +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/huffman-exe/autogen/cabal_macros.h +: hash: 5c589f29d12e441a25182925543712cdca33bb844ebce29bafe987697bb2b9b1 +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/exe/Main.hs: + hash: bc321c5e6dea106198eca53ccb8e31b17746ac198c7de206483c2989e73b1fd0 +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/huffman.cabal: + hash: 0f828acaf94c12587e96d013bb3f48a4c4abac1e2efe6cce31dbffe48864d1f2 +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/package.yaml: + hash: e9fcddf7857388c0e51188152e25a1d446e2e46628ed45552bdc3b635472171c +/usr/include/stdc-predef.h: + hash: d6bcc58441a423bbb3a52171fcd3b84d8b36e332a55221a1c3e6e899bc43ccb3 diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-build-caches/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/lib b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-build-caches/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/lib new file mode 100644 index 0000000..fade27d --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-build-caches/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/lib @@ -0,0 +1,16 @@ +/home/a/.ghcup/ghc/9.4.7/lib/ghc-9.4.7/lib/x86_64-linux-ghc-9.4.7/rts-1.0.2/include/ghcversion.h: + hash: ee548d48ca5c94d7c7fab127ec07be47b01afa24d6495358aa9ff6cfc8541c81 +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/autogen/Paths_huffman.hs +: hash: a3c9bab9957243b0f42c2a27a683d714bd76a29a1e52892d20d5448cc5286f7b +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/autogen/cabal_macros.h +: hash: df24c6ae427dd5d2c36f2c8258ba626e3e25858177d8b0a85daf62a39070a70b +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/huffman.cabal: + hash: 0f828acaf94c12587e96d013bb3f48a4c4abac1e2efe6cce31dbffe48864d1f2 +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/package.yaml: + hash: e9fcddf7857388c0e51188152e25a1d446e2e46628ed45552bdc3b635472171c +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/src/Auxiliaries.hs: + hash: 5a404af397ad51d6d268ac0a318157dd9511d113c3fbfce35cc238d42974425f +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/src/Huffman.hs: + hash: d08ec104d6db27dc13b5222e3c828e0c3ba8b0074350a3d0ffb298a0d7bd78b1 +/usr/include/stdc-predef.h: + hash: d6bcc58441a423bbb3a52171fcd3b84d8b36e332a55221a1c3e6e899bc43ccb3 diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-build-caches/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/test-unit-tests b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-build-caches/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/test-unit-tests new file mode 100644 index 0000000..cf88a31 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-build-caches/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/test-unit-tests @@ -0,0 +1,14 @@ +/home/a/.ghcup/ghc/9.4.7/lib/ghc-9.4.7/lib/x86_64-linux-ghc-9.4.7/rts-1.0.2/include/ghcversion.h: + hash: ee548d48ca5c94d7c7fab127ec07be47b01afa24d6495358aa9ff6cfc8541c81 +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/autogen/Paths_huffman.hs +: hash: b3a50271474d4a5ae9d3d4bd552cad9797fcba44dd02ff71a76cb68d39a2b20b +? /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/build/unit-tests/autogen/cabal_macros.h +: hash: 1aa5d81baa718818a04d8364c9bb55d8f54c72b9895aaa7223cbad2fca9929ba +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/huffman.cabal: + hash: 0f828acaf94c12587e96d013bb3f48a4c4abac1e2efe6cce31dbffe48864d1f2 +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/package.yaml: + hash: e9fcddf7857388c0e51188152e25a1d446e2e46628ed45552bdc3b635472171c +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/test/Tests.hs: + hash: 3ca5e27b2088e7a3ceff11746da999127e42a43fcb9431650eca06c193634c15 +/usr/include/stdc-predef.h: + hash: d6bcc58441a423bbb3a52171fcd3b84d8b36e332a55221a1c3e6e899bc43ccb3 diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-cabal-mod b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-cabal-mod new file mode 100644 index 0000000..5b04457 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-cabal-mod @@ -0,0 +1 @@ +Just used for its modification time \ No newline at end of file diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-project-root b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-project-root new file mode 100644 index 0000000..e968d5a --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-project-root @@ -0,0 +1 @@ +/home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/ \ No newline at end of file diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-setup-config-mod b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-setup-config-mod new file mode 100644 index 0000000..5b04457 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-setup-config-mod @@ -0,0 +1 @@ +Just used for its modification time \ No newline at end of file diff --git a/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-test-success b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-test-success new file mode 100644 index 0000000..0f0c913 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/dist/x86_64-linux/ghc-9.4.7/stack-test-success @@ -0,0 +1 @@ +success \ No newline at end of file diff --git a/Aufgabe_6/code/.stack-work/ghci/4e1143bb/cabal_macros.h b/Aufgabe_6/code/.stack-work/ghci/4e1143bb/cabal_macros.h new file mode 100644 index 0000000..47dc9c1 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/ghci/4e1143bb/cabal_macros.h @@ -0,0 +1,133 @@ +/* DO NOT EDIT: This file is automatically generated by Cabal */ + +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ +/* package base-4.17.2.0 */ +#ifndef VERSION_base +#define VERSION_base "4.17.2.0" +#endif /* VERSION_base */ +#ifndef MIN_VERSION_base +#define MIN_VERSION_base(major1,major2,minor) (\ + (major1) < 4 || \ + (major1) == 4 && (major2) < 17 || \ + (major1) == 4 && (major2) == 17 && (minor) <= 2) +#endif /* MIN_VERSION_base */ +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ + +/* tool gcc-13.2.0 */ +#ifndef TOOL_VERSION_gcc +#define TOOL_VERSION_gcc "13.2.0" +#endif /* TOOL_VERSION_gcc */ +#ifndef MIN_TOOL_VERSION_gcc +#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ + (major1) < 13 || \ + (major1) == 13 && (major2) < 2 || \ + (major1) == 13 && (major2) == 2 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_gcc */ +/* tool ghc-9.4.7 */ +#ifndef TOOL_VERSION_ghc +#define TOOL_VERSION_ghc "9.4.7" +#endif /* TOOL_VERSION_ghc */ +#ifndef MIN_TOOL_VERSION_ghc +#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc */ +/* tool ghc-pkg-9.4.7 */ +#ifndef TOOL_VERSION_ghc_pkg +#define TOOL_VERSION_ghc_pkg "9.4.7" +#endif /* TOOL_VERSION_ghc_pkg */ +#ifndef MIN_TOOL_VERSION_ghc_pkg +#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc_pkg */ +/* tool haddock-2.27.0 */ +#ifndef TOOL_VERSION_haddock +#define TOOL_VERSION_haddock "2.27.0" +#endif /* TOOL_VERSION_haddock */ +#ifndef MIN_TOOL_VERSION_haddock +#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 27 || \ + (major1) == 2 && (major2) == 27 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_haddock */ +/* tool hpc-0.68 */ +#ifndef TOOL_VERSION_hpc +#define TOOL_VERSION_hpc "0.68" +#endif /* TOOL_VERSION_hpc */ +#ifndef MIN_TOOL_VERSION_hpc +#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_hpc */ +/* tool hsc2hs-0.68.8 */ +#ifndef TOOL_VERSION_hsc2hs +#define TOOL_VERSION_hsc2hs "0.68.8" +#endif /* TOOL_VERSION_hsc2hs */ +#ifndef MIN_TOOL_VERSION_hsc2hs +#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_hsc2hs */ +/* tool pkg-config-2.0.2 */ +#ifndef TOOL_VERSION_pkg_config +#define TOOL_VERSION_pkg_config "2.0.2" +#endif /* TOOL_VERSION_pkg_config */ +#ifndef MIN_TOOL_VERSION_pkg_config +#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 0 || \ + (major1) == 2 && (major2) == 0 && (minor) <= 2) +#endif /* MIN_TOOL_VERSION_pkg_config */ +/* tool runghc-9.4.7 */ +#ifndef TOOL_VERSION_runghc +#define TOOL_VERSION_runghc "9.4.7" +#endif /* TOOL_VERSION_runghc */ +#ifndef MIN_TOOL_VERSION_runghc +#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_runghc */ +/* tool strip-2.41 */ +#ifndef TOOL_VERSION_strip +#define TOOL_VERSION_strip "2.41" +#endif /* TOOL_VERSION_strip */ +#ifndef MIN_TOOL_VERSION_strip +#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 41 || \ + (major1) == 2 && (major2) == 41 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_strip */ + +#ifndef CURRENT_COMPONENT_ID +#define CURRENT_COMPONENT_ID "huffman-0.1-7oGsPwnMV4MIdxe92R26Zp-huffman-exe" +#endif /* CURRENT_COMPONENT_ID */ +#ifndef CURRENT_PACKAGE_VERSION +#define CURRENT_PACKAGE_VERSION "0.1" +#endif /* CURRENT_PACKAGE_VERSION */ + +#undef CURRENT_PACKAGE_KEY +#undef CURRENT_COMPONENT_ID diff --git a/Aufgabe_6/code/.stack-work/ghci/aa2090cd/cabal_macros.h b/Aufgabe_6/code/.stack-work/ghci/aa2090cd/cabal_macros.h new file mode 100644 index 0000000..cdf7855 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/ghci/aa2090cd/cabal_macros.h @@ -0,0 +1,153 @@ +/* DO NOT EDIT: This file is automatically generated by Cabal */ + +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ +/* package HUnit-1.6.2.0 */ +#ifndef VERSION_HUnit +#define VERSION_HUnit "1.6.2.0" +#endif /* VERSION_HUnit */ +#ifndef MIN_VERSION_HUnit +#define MIN_VERSION_HUnit(major1,major2,minor) (\ + (major1) < 1 || \ + (major1) == 1 && (major2) < 6 || \ + (major1) == 1 && (major2) == 6 && (minor) <= 2) +#endif /* MIN_VERSION_HUnit */ +/* package base-4.17.2.0 */ +#ifndef VERSION_base +#define VERSION_base "4.17.2.0" +#endif /* VERSION_base */ +#ifndef MIN_VERSION_base +#define MIN_VERSION_base(major1,major2,minor) (\ + (major1) < 4 || \ + (major1) == 4 && (major2) < 17 || \ + (major1) == 4 && (major2) == 17 && (minor) <= 2) +#endif /* MIN_VERSION_base */ +/* package containers-0.6.7 */ +#ifndef VERSION_containers +#define VERSION_containers "0.6.7" +#endif /* VERSION_containers */ +#ifndef MIN_VERSION_containers +#define MIN_VERSION_containers(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 6 || \ + (major1) == 0 && (major2) == 6 && (minor) <= 7) +#endif /* MIN_VERSION_containers */ +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ + +/* tool gcc-13.2.0 */ +#ifndef TOOL_VERSION_gcc +#define TOOL_VERSION_gcc "13.2.0" +#endif /* TOOL_VERSION_gcc */ +#ifndef MIN_TOOL_VERSION_gcc +#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ + (major1) < 13 || \ + (major1) == 13 && (major2) < 2 || \ + (major1) == 13 && (major2) == 2 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_gcc */ +/* tool ghc-9.4.7 */ +#ifndef TOOL_VERSION_ghc +#define TOOL_VERSION_ghc "9.4.7" +#endif /* TOOL_VERSION_ghc */ +#ifndef MIN_TOOL_VERSION_ghc +#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc */ +/* tool ghc-pkg-9.4.7 */ +#ifndef TOOL_VERSION_ghc_pkg +#define TOOL_VERSION_ghc_pkg "9.4.7" +#endif /* TOOL_VERSION_ghc_pkg */ +#ifndef MIN_TOOL_VERSION_ghc_pkg +#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc_pkg */ +/* tool haddock-2.27.0 */ +#ifndef TOOL_VERSION_haddock +#define TOOL_VERSION_haddock "2.27.0" +#endif /* TOOL_VERSION_haddock */ +#ifndef MIN_TOOL_VERSION_haddock +#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 27 || \ + (major1) == 2 && (major2) == 27 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_haddock */ +/* tool hpc-0.68 */ +#ifndef TOOL_VERSION_hpc +#define TOOL_VERSION_hpc "0.68" +#endif /* TOOL_VERSION_hpc */ +#ifndef MIN_TOOL_VERSION_hpc +#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_hpc */ +/* tool hsc2hs-0.68.8 */ +#ifndef TOOL_VERSION_hsc2hs +#define TOOL_VERSION_hsc2hs "0.68.8" +#endif /* TOOL_VERSION_hsc2hs */ +#ifndef MIN_TOOL_VERSION_hsc2hs +#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_hsc2hs */ +/* tool pkg-config-2.0.2 */ +#ifndef TOOL_VERSION_pkg_config +#define TOOL_VERSION_pkg_config "2.0.2" +#endif /* TOOL_VERSION_pkg_config */ +#ifndef MIN_TOOL_VERSION_pkg_config +#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 0 || \ + (major1) == 2 && (major2) == 0 && (minor) <= 2) +#endif /* MIN_TOOL_VERSION_pkg_config */ +/* tool runghc-9.4.7 */ +#ifndef TOOL_VERSION_runghc +#define TOOL_VERSION_runghc "9.4.7" +#endif /* TOOL_VERSION_runghc */ +#ifndef MIN_TOOL_VERSION_runghc +#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_runghc */ +/* tool strip-2.41 */ +#ifndef TOOL_VERSION_strip +#define TOOL_VERSION_strip "2.41" +#endif /* TOOL_VERSION_strip */ +#ifndef MIN_TOOL_VERSION_strip +#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 41 || \ + (major1) == 2 && (major2) == 41 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_strip */ + +#ifndef CURRENT_COMPONENT_ID +#define CURRENT_COMPONENT_ID "huffman-0.1-7He5PbLnsBEFUTWGgrF0f-unit-tests" +#endif /* CURRENT_COMPONENT_ID */ +#ifndef CURRENT_PACKAGE_VERSION +#define CURRENT_PACKAGE_VERSION "0.1" +#endif /* CURRENT_PACKAGE_VERSION */ + +#undef CURRENT_PACKAGE_KEY +#undef CURRENT_COMPONENT_ID diff --git a/Aufgabe_6/code/.stack-work/ghci/bcd4bd30/cabal_macros.h b/Aufgabe_6/code/.stack-work/ghci/bcd4bd30/cabal_macros.h new file mode 100644 index 0000000..8b64bf4 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/ghci/bcd4bd30/cabal_macros.h @@ -0,0 +1,166 @@ +/* DO NOT EDIT: This file is automatically generated by Cabal */ + +/* package huffman-0.1 */ +#ifndef VERSION_huffman +#define VERSION_huffman "0.1" +#endif /* VERSION_huffman */ +#ifndef MIN_VERSION_huffman +#define MIN_VERSION_huffman(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_huffman */ +/* package base-4.17.2.0 */ +#ifndef VERSION_base +#define VERSION_base "4.17.2.0" +#endif /* VERSION_base */ +#ifndef MIN_VERSION_base +#define MIN_VERSION_base(major1,major2,minor) (\ + (major1) < 4 || \ + (major1) == 4 && (major2) < 17 || \ + (major1) == 4 && (major2) == 17 && (minor) <= 2) +#endif /* MIN_VERSION_base */ +/* package binary-0.8.9.1 */ +#ifndef VERSION_binary +#define VERSION_binary "0.8.9.1" +#endif /* VERSION_binary */ +#ifndef MIN_VERSION_binary +#define MIN_VERSION_binary(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 8 || \ + (major1) == 0 && (major2) == 8 && (minor) <= 9) +#endif /* MIN_VERSION_binary */ +/* package bytestring-0.11.5.2 */ +#ifndef VERSION_bytestring +#define VERSION_bytestring "0.11.5.2" +#endif /* VERSION_bytestring */ +#ifndef MIN_VERSION_bytestring +#define MIN_VERSION_bytestring(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 11 || \ + (major1) == 0 && (major2) == 11 && (minor) <= 5) +#endif /* MIN_VERSION_bytestring */ +/* package containers-0.6.7 */ +#ifndef VERSION_containers +#define VERSION_containers "0.6.7" +#endif /* VERSION_containers */ +#ifndef MIN_VERSION_containers +#define MIN_VERSION_containers(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 6 || \ + (major1) == 0 && (major2) == 6 && (minor) <= 7) +#endif /* MIN_VERSION_containers */ +/* package filepath-1.4.2.2 */ +#ifndef VERSION_filepath +#define VERSION_filepath "1.4.2.2" +#endif /* VERSION_filepath */ +#ifndef MIN_VERSION_filepath +#define MIN_VERSION_filepath(major1,major2,minor) (\ + (major1) < 1 || \ + (major1) == 1 && (major2) < 4 || \ + (major1) == 1 && (major2) == 4 && (minor) <= 2) +#endif /* MIN_VERSION_filepath */ + +/* tool gcc-13.2.0 */ +#ifndef TOOL_VERSION_gcc +#define TOOL_VERSION_gcc "13.2.0" +#endif /* TOOL_VERSION_gcc */ +#ifndef MIN_TOOL_VERSION_gcc +#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ + (major1) < 13 || \ + (major1) == 13 && (major2) < 2 || \ + (major1) == 13 && (major2) == 2 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_gcc */ +/* tool ghc-9.4.7 */ +#ifndef TOOL_VERSION_ghc +#define TOOL_VERSION_ghc "9.4.7" +#endif /* TOOL_VERSION_ghc */ +#ifndef MIN_TOOL_VERSION_ghc +#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc */ +/* tool ghc-pkg-9.4.7 */ +#ifndef TOOL_VERSION_ghc_pkg +#define TOOL_VERSION_ghc_pkg "9.4.7" +#endif /* TOOL_VERSION_ghc_pkg */ +#ifndef MIN_TOOL_VERSION_ghc_pkg +#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_ghc_pkg */ +/* tool haddock-2.27.0 */ +#ifndef TOOL_VERSION_haddock +#define TOOL_VERSION_haddock "2.27.0" +#endif /* TOOL_VERSION_haddock */ +#ifndef MIN_TOOL_VERSION_haddock +#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 27 || \ + (major1) == 2 && (major2) == 27 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_haddock */ +/* tool hpc-0.68 */ +#ifndef TOOL_VERSION_hpc +#define TOOL_VERSION_hpc "0.68" +#endif /* TOOL_VERSION_hpc */ +#ifndef MIN_TOOL_VERSION_hpc +#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_hpc */ +/* tool hsc2hs-0.68.8 */ +#ifndef TOOL_VERSION_hsc2hs +#define TOOL_VERSION_hsc2hs "0.68.8" +#endif /* TOOL_VERSION_hsc2hs */ +#ifndef MIN_TOOL_VERSION_hsc2hs +#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_hsc2hs */ +/* tool pkg-config-2.0.2 */ +#ifndef TOOL_VERSION_pkg_config +#define TOOL_VERSION_pkg_config "2.0.2" +#endif /* TOOL_VERSION_pkg_config */ +#ifndef MIN_TOOL_VERSION_pkg_config +#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 0 || \ + (major1) == 2 && (major2) == 0 && (minor) <= 2) +#endif /* MIN_TOOL_VERSION_pkg_config */ +/* tool runghc-9.4.7 */ +#ifndef TOOL_VERSION_runghc +#define TOOL_VERSION_runghc "9.4.7" +#endif /* TOOL_VERSION_runghc */ +#ifndef MIN_TOOL_VERSION_runghc +#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 4 || \ + (major1) == 9 && (major2) == 4 && (minor) <= 7) +#endif /* MIN_TOOL_VERSION_runghc */ +/* tool strip-2.41 */ +#ifndef TOOL_VERSION_strip +#define TOOL_VERSION_strip "2.41" +#endif /* TOOL_VERSION_strip */ +#ifndef MIN_TOOL_VERSION_strip +#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 41 || \ + (major1) == 2 && (major2) == 41 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_strip */ + +#ifndef CURRENT_PACKAGE_KEY +#define CURRENT_PACKAGE_KEY "huffman-0.1-5hb8DvQH04kAhx22YvzXdK" +#endif /* CURRENT_packageKey */ +#ifndef CURRENT_COMPONENT_ID +#define CURRENT_COMPONENT_ID "huffman-0.1-5hb8DvQH04kAhx22YvzXdK" +#endif /* CURRENT_COMPONENT_ID */ +#ifndef CURRENT_PACKAGE_VERSION +#define CURRENT_PACKAGE_VERSION "0.1" +#endif /* CURRENT_PACKAGE_VERSION */ + +#undef CURRENT_PACKAGE_KEY +#undef CURRENT_COMPONENT_ID diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/bin/huffman-exe b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/bin/huffman-exe new file mode 100755 index 0000000..3564313 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/bin/huffman-exe differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.dyn_hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.dyn_hi new file mode 100644 index 0000000..3a1dffc Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.hi new file mode 100644 index 0000000..1e26201 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.dyn_hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.dyn_hi new file mode 100644 index 0000000..276c95e Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.hi new file mode 100644 index 0000000..1b1326f Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.dyn_hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.dyn_hi new file mode 100644 index 0000000..0c53bb4 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.hi new file mode 100644 index 0000000..e8aef7f Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a new file mode 100644 index 0000000..483f089 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so new file mode 100755 index 0000000..4af4e7a Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/pkgdb/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/pkgdb/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf new file mode 100644 index 0000000..c5f6766 --- /dev/null +++ b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/pkgdb/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf @@ -0,0 +1,36 @@ +name: huffman +version: 0.1 +visibility: public +id: huffman-0.1-FYSjga9JLF2kZjOZ6zeLt +key: huffman-0.1-FYSjga9JLF2kZjOZ6zeLt +license: BSD-3-Clause +synopsis: huffman +abi: 5af1db6672629be997b9440d7ecf09b9 +exposed: True +exposed-modules: Auxiliaries Huffman +hidden-modules: Paths_huffman +import-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt + +library-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt + +library-dirs-static: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt + +dynamic-library-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/lib/x86_64-linux-ghc-9.4.7 + +data-dir: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/share/x86_64-linux-ghc-9.4.7/huffman-0.1 + +hs-libraries: HShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt +depends: + base-4.17.2.0 binary-0.8.9.1 bytestring-0.11.5.2 containers-0.6.7 + filepath-1.4.2.2 + +haddock-interfaces: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/doc/huffman-0.1/huffman.haddock + +haddock-html: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/doc/huffman-0.1 diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/pkgdb/package.cache b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/pkgdb/package.cache new file mode 100644 index 0000000..8c0e913 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/pkgdb/package.cache differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/pkgdb/package.cache.lock b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/bb0f3fab2049fedb4cba85d10a24b16a5e25afd3bd9adda8ddc0b2b676ff0e27/9.4.7/pkgdb/package.cache.lock new file mode 100644 index 0000000..e69de29 diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/dc62ee263f84482ac96dc2d1813e7690a5dc2ef35e0535d237b0f0279903f1c4/9.4.7/pkgdb/package.cache b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/dc62ee263f84482ac96dc2d1813e7690a5dc2ef35e0535d237b0f0279903f1c4/9.4.7/pkgdb/package.cache new file mode 100644 index 0000000..b3cae5c Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/dc62ee263f84482ac96dc2d1813e7690a5dc2ef35e0535d237b0f0279903f1c4/9.4.7/pkgdb/package.cache differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/dc62ee263f84482ac96dc2d1813e7690a5dc2ef35e0535d237b0f0279903f1c4/9.4.7/pkgdb/package.cache.lock b/Aufgabe_6/code/.stack-work/install/x86_64-linux-tinfo6/dc62ee263f84482ac96dc2d1813e7690a5dc2ef35e0535d237b0f0279903f1c4/9.4.7/pkgdb/package.cache.lock new file mode 100644 index 0000000..e69de29 diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/bin/huffman-exe b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/bin/huffman-exe new file mode 100755 index 0000000..0ce75b1 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/bin/huffman-exe differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.dyn_hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.dyn_hi new file mode 100644 index 0000000..0eca055 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.hi new file mode 100644 index 0000000..a45a2c0 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Auxiliaries.hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.dyn_hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.dyn_hi new file mode 100644 index 0000000..34bdd9b Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.hi new file mode 100644 index 0000000..31f8184 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.dyn_hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.dyn_hi new file mode 100644 index 0000000..a9ac9cd Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.dyn_hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.hi b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.hi new file mode 100644 index 0000000..db3d9bb Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/Paths_huffman.hi differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a new file mode 100644 index 0000000..992d6c7 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt.a differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so new file mode 100755 index 0000000..f86bdc9 Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/libHShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt-ghc9.4.7.so differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/pkgdb/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/pkgdb/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf new file mode 100644 index 0000000..e74092c --- /dev/null +++ b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/pkgdb/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt.conf @@ -0,0 +1,36 @@ +name: huffman +version: 0.1 +visibility: public +id: huffman-0.1-FYSjga9JLF2kZjOZ6zeLt +key: huffman-0.1-FYSjga9JLF2kZjOZ6zeLt +license: BSD-3-Clause +synopsis: huffman +abi: 109d1f676886f1fb02e4494eaa1e8634 +exposed: True +exposed-modules: Auxiliaries Huffman +hidden-modules: Paths_huffman +import-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt + +library-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt + +library-dirs-static: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7/huffman-0.1-FYSjga9JLF2kZjOZ6zeLt + +dynamic-library-dirs: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/lib/x86_64-linux-ghc-9.4.7 + +data-dir: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/share/x86_64-linux-ghc-9.4.7/huffman-0.1 + +hs-libraries: HShuffman-0.1-FYSjga9JLF2kZjOZ6zeLt +depends: + base-4.17.2.0 binary-0.8.9.1 bytestring-0.11.5.2 containers-0.6.7 + filepath-1.4.2.2 + +haddock-interfaces: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/doc/huffman-0.1/huffman.haddock + +haddock-html: + /home/a/Documents/Repositories/Anwendungsentwicklung_Haskell/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/doc/huffman-0.1 diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/pkgdb/package.cache b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/pkgdb/package.cache new file mode 100644 index 0000000..846a42a Binary files /dev/null and b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/pkgdb/package.cache differ diff --git a/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/pkgdb/package.cache.lock b/Aufgabe_6/code/.stack-work/install/x86_64-linux/fd8ac145ead3a583cca317bafb4c9c6398f22e51e51cd57da906cdb1a7b27beb/9.4.7/pkgdb/package.cache.lock new file mode 100644 index 0000000..e69de29 diff --git a/Aufgabe_6/code/.stack-work/stack.sqlite3 b/Aufgabe_6/code/.stack-work/stack.sqlite3 index d53af17..f4926dc 100644 Binary files a/Aufgabe_6/code/.stack-work/stack.sqlite3 and b/Aufgabe_6/code/.stack-work/stack.sqlite3 differ diff --git a/Aufgabe_6/code/src/Huffman.hs b/Aufgabe_6/code/src/Huffman.hs index 6f12509..5ba33bd 100755 --- a/Aufgabe_6/code/src/Huffman.hs +++ b/Aufgabe_6/code/src/Huffman.hs @@ -3,7 +3,11 @@ module Huffman where --import qualified Data.List as List import qualified Data.Map.Strict as Map -import Auxiliaries -- defines Bit +import Auxiliaries ( Bit (..) ) +import Data.Maybe (fromMaybe) +import Data.Char (toUpper) +import Data.List (sort) +import Data.IntMap.Strict type Map = Map.Map type CodingTable = Map Char [Bit] @@ -11,15 +15,14 @@ type CodingTable = Map Char [Bit] -- Aufgabe 2 ----------------------------------------------------------------------- -data Node = Leaf Char Integer | Inner Node Node Integer +data Node = Leaf Char Int | Inner Node Node Int deriving (Show) data HTree = Root Node exercise1TreeValid :: HTree exercise1TreeValid = Root (Inner (Inner (Leaf 'E' 158) (Inner (Leaf 'N' 97) (Leaf 'I' 82) 179) 337) (Inner (Inner (Leaf 'R' 77) (Leaf 'S' 67) 144) (Inner (Leaf 'T' 64) (Leaf 'A' 61) 125) 269) 606) exercise1TreeInvalid :: HTree -exercise1TreeInvalid = - Root (Inner (Leaf 'A' 21) (Leaf 'B' 20) 42) +exercise1TreeInvalid = Root (Inner (Leaf 'A' 21) (Leaf 'B' 20) 42) ----------------------------------------------------------------------- -- Aufgabe 3 @@ -43,17 +46,145 @@ isConsistent (Root node) = ----------------------------------------------------------------------- -- Aufgabe 4 ----------------------------------------------------------------------- + +data Direction = Left | Right +type BitList = [Bit] + toCodingTable :: HTree -> CodingTable toCodingTable (Root node) = case node of - Leaf char _ -> singleton char [Zero] - Inner _ _ _ -> fromList toCodingTableList (Root node) + Leaf char _ -> Map.singleton char [Zero] + Inner left right _ -> Map.union (Map.fromList (toCodingTableList (Root left) Huffman.Left)) (Map.fromList (toCodingTableList (Root right) Huffman.Right)) -toCodingTableList :: HTree -> [(Char,[Bit])] -toCodingTableList (Root node) = - case node of - Leaf char _ -> [(char,[Zero])] - Inner left right frequency -> +toCodingTableList :: HTree -> Direction -> [(Char,BitList)] +toCodingTableList (Root node) direction = + case direction of + Huffman.Left -> + case node of + Inner left right _ -> prependToBitLists Zero (toCodingTableList (Root left) Huffman.Left) ++ prependToBitLists Zero (toCodingTableList (Root right) Huffman.Right) + Leaf char _ -> prependToBitLists Zero [((toUpper char),[])] + Huffman.Right -> + case node of + Inner left right _ -> prependToBitLists One (toCodingTableList (Root left) Huffman.Left) ++ prependToBitLists One (toCodingTableList (Root right) Huffman.Right) + Leaf char _ -> prependToBitLists One [((toUpper char),[])] ---type Map = Map.Map ---type CodingTable = Map Char [Bit] \ No newline at end of file +-- Prepends given Bit in front of each BitList inside the tuples of given list. +prependToBitLists :: Bit -> [(Char, BitList)] -> [(Char, BitList)] +prependToBitLists bitToPrepend = Prelude.map (\(char, bitList) -> (char, bitToPrepend : bitList)) + +----------------------------------------------------------------------- +-- Aufgabe 4 Test Data +----------------------------------------------------------------------- + +treeValidCodingTable :: CodingTable +treeValidCodingTable = (Map.fromList [('E',[Zero,Zero]), ('N',[Zero,One,Zero]), ('I',[Zero,One,One]), ('R',[One,Zero,Zero]), ('S',[One,Zero,One]), ('T',[One,One,Zero]), ('A',[One,One,One])]) + +treeOnlyLeafCodingTable :: CodingTable +treeOnlyLeafCodingTable = (Map.fromList [('A',[Zero])]) + +----------------------------------------------------------------------- +-- Aufgabe 5 +----------------------------------------------------------------------- + +encode :: CodingTable -> String -> [Bit] +encode table input = + case Prelude.map toUpper input of + (firstChar:rest) -> (encodeChar table firstChar) ++ (encode table rest) + [] -> [] + +encodeChar :: CodingTable -> Char -> [Bit] +encodeChar table char = fromMaybe [] (Map.lookup char table) + +----------------------------------------------------------------------- +-- Aufgabe 5 Test Data +----------------------------------------------------------------------- + +codingTableForTesting :: CodingTable +codingTableForTesting = toCodingTable exercise1TreeValid + +enteEncoded :: BitList +enteEncoded = [Zero,Zero, Zero,One,Zero, One,One,Zero, Zero,Zero] + +erenEncoded :: BitList +erenEncoded = [Zero,Zero, One,Zero,Zero, Zero,Zero, Zero,One,Zero] + +startEncoded :: BitList +startEncoded = [One,Zero,One, One,One,Zero, One,One,One, One,Zero,Zero, One,One,Zero] + +rainEncoded :: BitList +rainEncoded = [One,Zero,Zero, One,One,One, Zero,One,One, Zero,One,Zero] + +----------------------------------------------------------------------- +-- Aufgabe 6 +----------------------------------------------------------------------- + +decode :: HTree -> [Bit] -> String +decode tree encodedString = + case encodedString of + [] -> [] + _ -> + let (steps, char) = walkTillLeaf tree encodedString 0 + in char ++ decode tree (drop steps encodedString) + +walkTillLeaf :: HTree -> [Bit] -> Int -> (Int, String) +walkTillLeaf (Root tree) directions step = + case tree of + Leaf char _ -> (step, [toUpper char]) + Inner left right _ -> + case directions of + (first:rest) -> + case first of + Zero -> walkTillLeaf (Root left) rest (step + 1) + One -> walkTillLeaf (Root right) rest (step + 1) + [] -> (0,"") + +----------------------------------------------------------------------- +-- Aufgabe 7 +----------------------------------------------------------------------- + +instance Eq Node where + (Leaf char1 frequency1) == (Leaf char2 frequency2) = (toUpper char1) == (toUpper char2) && frequency1 == frequency2 + (Leaf _ _) == (Inner {}) = False + (Inner {}) == (Leaf _ _) = False + (Inner node11 node12 frequency1) == (Inner node21 node22 frequency2) = node11 == node21 && node12 == node22 && frequency1 == frequency2 + +instance Ord Node where + (Leaf _ frequency1) >= (Leaf _ frequency2) = frequency1 >= frequency2 + (Leaf _ frequency1) >= (Inner _ _ frequency2) = frequency1 >= frequency2 + (Inner _ _ frequency1) >= (Leaf _ frequency2) = frequency1 >= frequency2 + (Inner _ _ frequency1) >= (Inner _ _ frequency2) = frequency1 >= frequency2 + (Leaf _ frequency1) <= (Leaf _ frequency2) = frequency1 <= frequency2 + (Leaf _ frequency1) <= (Inner _ _ frequency2) = frequency1 <= frequency2 + (Inner _ _ frequency1) <= (Leaf _ frequency2) = frequency1 <= frequency2 + (Inner _ _ frequency1) <= (Inner _ _ frequency2) = frequency1 <= frequency2 + +buildHTree :: String -> HTree +buildHTree input = + let charFrequencyMap = combineFrequencies (addOccurences input) + in toHTree (toHTreeNodes charFrequencyMap) + +--map ['r','a','i','n','a'] becomes [('r',1),('a',1),('i',1),('n',1),('a',1)] +addOccurences :: String -> [(Char,Int)] +addOccurences characters = Prelude.map (\char -> (toUpper char,1)) characters + +--fromListWith (+) [('r',1),('a',1),('i',1),('n',1),('a',1)] becomes [('r',1),('a',2),('i',1),('n',1)] +combineFrequencies :: [(Char,Int)] -> Map Char Int +combineFrequencies charPairs = Map.fromListWith (+) charPairs + +toHTreeNodes :: Map Char Int -> [Node] +toHTreeNodes frequenciesMap = + let charFrequenciesList = Map.toList frequenciesMap + in sort (Prelude.map (\(char,frequency) -> Leaf char frequency) charFrequenciesList) + +-- divide and conquer +toHTree :: [Node] -> HTree +toHTree = undefined + +workList :: Data.IntMap.Strict.Key [HTree] + +----------------------------------------------------------------------- +-- Aufgabe 7 Test +----------------------------------------------------------------------- + +nodeList :: [Node] +nodeList = [Leaf 'R' 4, Leaf 'A' 3, Leaf 'I' 2, Leaf 'N' 1] \ No newline at end of file diff --git a/Aufgabe_6/code/test/Tests.hs b/Aufgabe_6/code/test/Tests.hs index b113e89..974c4c5 100755 --- a/Aufgabe_6/code/test/Tests.hs +++ b/Aufgabe_6/code/test/Tests.hs @@ -1,24 +1,40 @@ +{-# OPTIONS_GHC -Wno-deferred-out-of-scope-variables #-} module Main where +import qualified Data.Map.Strict as Map import Huffman import Test.HUnit +import Auxiliaries (Bit (..)) + +type CodingTable = Map.Map Char [Bit] test_isConsistent :: IO () test_isConsistent = do - assertEqual "test1_Valid_tree" True (isConsistent exercise1TreeValid) - assertEqual "test2_Invalid_tree" False (isConsistent exercise1TreeInvalid) + assertEqual "test1_Valid_tree" True (isConsistent exercise1TreeValid) + assertEqual "test2_Invalid_tree" False (isConsistent exercise1TreeInvalid) test_toCodingTable :: IO () -test_toCodingTable = pure () +test_toCodingTable = do + assertEqual "test1_ValidTree" treeValidCodingTable (toCodingTable exercise1TreeValid) + assertEqual "test2_OneLeaf" treeOnlyLeafCodingTable (toCodingTable (Root (Leaf 'A' 2))) test_encode :: IO () -test_encode = pure () +test_encode = do + assertEqual "test encode Ente" enteEncoded (encode codingTableForTesting "Ente") + assertEqual "test encode Eren" erenEncoded (encode codingTableForTesting "Eren") + assertEqual "test encode Start" startEncoded (encode codingTableForTesting "Start") + assertEqual "test encode Rain" rainEncoded (encode codingTableForTesting "Rain") test_decode :: IO () -test_decode = pure () +test_decode = do + assertEqual "test decode Ente" "ENTE" (decode exercise1TreeValid (encode codingTableForTesting "ENTE")) + assertEqual "test decode Eren" "EREN" (decode exercise1TreeValid (encode codingTableForTesting "EREN")) + assertEqual "test decode Start" "START" (decode exercise1TreeValid (encode codingTableForTesting "START")) + assertEqual "test decode Rain" "RAIN" (decode exercise1TreeValid (encode codingTableForTesting "RAIN")) test_buildHTree :: IO () -test_buildHTree = pure () +test_buildHTree = do + assertEqual "test buildHTree" nodeList (buildHTree "nIiaAaRrRr") test_toDecodeTree :: IO () test_toDecodeTree = pure ()