diff options
author | Franciszek Malinka <franciszek.malinka@gmail.com> | 2021-10-05 21:49:54 +0200 |
---|---|---|
committer | Franciszek Malinka <franciszek.malinka@gmail.com> | 2021-10-05 21:49:54 +0200 |
commit | c5fcf7179a83ef65c86c6a4a390029149e518649 (patch) | |
tree | d29ffc5b86a0d257453cedcf87d91a13d8bf3b0d /Semestr 3/pf/lista8/test | |
parent | f8a88b6a4aba1f66d04711a9330eaba49a50c463 (diff) |
Duzy commit ze smieciami
Diffstat (limited to 'Semestr 3/pf/lista8/test')
45 files changed, 0 insertions, 717 deletions
diff --git a/Semestr 3/pf/lista8/test/.gitignore b/Semestr 3/pf/lista8/test/.gitignore deleted file mode 100644 index c368d45..0000000 --- a/Semestr 3/pf/lista8/test/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.stack-work/ -*~
\ No newline at end of file diff --git a/Semestr 3/pf/lista8/test/ChangeLog.md b/Semestr 3/pf/lista8/test/ChangeLog.md deleted file mode 100644 index ed48144..0000000 --- a/Semestr 3/pf/lista8/test/ChangeLog.md +++ /dev/null @@ -1,3 +0,0 @@ -# Changelog for test - -## Unreleased changes diff --git a/Semestr 3/pf/lista8/test/LICENSE b/Semestr 3/pf/lista8/test/LICENSE deleted file mode 100644 index e637cde..0000000 --- a/Semestr 3/pf/lista8/test/LICENSE +++ /dev/null @@ -1,30 +0,0 @@ -Copyright Author name here (c) 2020 - -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - - * Neither the name of Author name here nor the names of other - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Semestr 3/pf/lista8/test/README.md b/Semestr 3/pf/lista8/test/README.md deleted file mode 100644 index 83c831f..0000000 --- a/Semestr 3/pf/lista8/test/README.md +++ /dev/null @@ -1 +0,0 @@ -# test diff --git a/Semestr 3/pf/lista8/test/Setup.hs b/Semestr 3/pf/lista8/test/Setup.hs deleted file mode 100644 index 9a994af..0000000 --- a/Semestr 3/pf/lista8/test/Setup.hs +++ /dev/null @@ -1,2 +0,0 @@ -import Distribution.Simple -main = defaultMain diff --git a/Semestr 3/pf/lista8/test/app/Main.hs b/Semestr 3/pf/lista8/test/app/Main.hs deleted file mode 100644 index 79c89fd..0000000 --- a/Semestr 3/pf/lista8/test/app/Main.hs +++ /dev/null @@ -1,154 +0,0 @@ --- module Main where - -silnia :: (Eq p, Num p) => p -> p -silnia n = if n == 0 then 1 else n * silnia (n -1) - -fibs :: [Integer] -fibs = 0 : 1 : zipWith (+) fibs (tail fibs) - --- Zadanie 1 - -f :: [Integer] -> [Integer] -f (p : xs) = filter (\x -> x `mod` p /= 0) xs - -primes :: [Integer] -primes = map head (iterate f [2 ..]) - --- Zadanie 2 - -primes' :: [Integer] -primes' = 2 : [p | p <- [3 ..], all (\q -> p `mod` q /= 0) (takeWhile (\q -> q * q <= p) primes')] - --- Zadanie 3 - -permi :: [a] -> [[a]] -permi [] = [[]] -permi (x : []) = [[x]] -permi (p : xs) = concat [(iter [] perm) | perm <- permi xs] - where - iter pref [] = [pref ++ [p]] - iter pref suf = (pref ++ (p : suf)) : (iter (pref ++ [head suf]) (tail suf)) - -perms :: [a] -> [[a]] -perms [] = [[]] -perms (x : []) = [[x]] -perms xs = iter [] [] xs - where - iter res pref [] = res - iter res pref (x : xs) = iter (res ++ (map (\ys -> x : ys) (perms (pref ++ xs)))) (pref ++ [x]) xs - --- Zadanie 4 - -sublist :: [a] -> [[a]] -sublist [] = [[]] -sublist (x : xs) = sxs ++ (map (\xs -> x : xs) sxs) - where - sxs = sublist xs - --- Zadanie 5 - -qsortBy :: (a -> a -> Bool) -> [a] -> [a] -qsortBy _ [] = [] -qsortBy _ [x] = [x] -qsortBy cmp (x : xs) = le ++ [x] ++ ge - where - le = qsortBy cmp [y | y <- xs, cmp x y] - ge = qsortBy cmp [y | y <- xs, cmp y x] - --- Zadanie 6 - --- subtable :: [a] -> Int -> [b] -> ([a] -> [a]) -> [a] --- subtable [] _ _ _ = [] --- subtable _ _ [] _ = [] --- subtable xs maxLen ys f = getSubtableBounded (f (take maxLen xs)) ys --- where --- getSubtableBounded [] _ = [] --- getSubtableBounded _ [] = [] --- getSubtableBounded (x : xs) (_ : ys) = x : (getSubtableBounded xs ys) - --- natsBounded xs = iter [] 1 xs --- where --- iter res _ [] = res --- iter res num (x : xs) = iter (res ++ [num]) (num + 1) xs - --- generateCantorTable :: [a] -> [b] -> ([a] -> [a]) -> [a] --- generateCantorTable _ [] f = [] --- generateCantorTable [] _ f = [] --- generateCantorTable xs ys f = concat [subtable xs maxLen ys f | maxLen <- natsBounded xs] - --- (><) :: [a] -> [b] -> [(a, b)] --- (><) xs ys = zip (generateCantorTable xs ys reverse) (generateCantorTable ys xs id) - --- (><) :: [a] -> [b] -> [(a, b)] --- (><) [] _ = [] --- (><) _ [] = [] --- (><) xs ys = iterXS xs ys --- where iterXS xs ys - --- Zadanie 7 - -data Tree a = Node (Tree a) a (Tree a) | Leaf - -data Set a = Fin (Tree a) | Cofin (Tree a) - -treeFromList :: Ord a => [a] -> Tree a -treeFromList [] = Leaf -treeFromList [x] = Node Leaf x Leaf -treeFromList xs = - let center xs = - let iter pref crawl [] = (pref, crawl) - iter pref crawl [x] = (pref, crawl) - iter pref crawl (x : y : xs) = iter (head crawl : pref) (tail crawl) xs - in iter [] xs xs - in let (st, nd) = center xs in Node (treeFromList (reverse st)) (head nd) (treeFromList (tail nd)) - -setFromList :: Ord a => [a] -> Set a -setFromList xs = Fin (treeFromList xs) - -setEmpty :: Ord a => Set a -setEmpty = Fin Leaf - -setFull :: Ord a => Set a -setFull = Cofin Leaf - -setToList :: Ord a => Set a -> [a] -setToList (Fin t) = treeToList t -setToList (Cofin t) = treeToList t - -treeToList :: Ord a => Tree a -> [a] -treeToList Leaf = [] -treeToList (Node t1 a t2) = treeToList t1 ++ [a] ++ treeToList t2 - -merge :: Ord a => [a] -> [a] -> [a] -merge [] ys = ys -merge xs [] = xs -merge (x : xs) (y : ys) = if x < y then x : (merge xs (y : ys)) else y : (merge (x : xs) ys) - -setUnion :: Ord a => Set a -> Set a -> Set a -setUnion (Fin t1) (Fin t2) = - setFromList (treeToList t1 `merge` treeToList t2) -setUnion (Fin t1) (Cofin t2) = - Cofin (treeFromList [x | x <- treeToList t2, x `notElem` treeToList t1]) -setUnion (Cofin t1) (Fin t2) = setUnion (Fin t2) (Cofin t1) -setUnion (Cofin t1) (Cofin t2) = - Cofin (treeFromList [x | x <- treeToList t1, x `elem` treeToList t2]) - -setIntersection :: Ord a => Set a -> Set a -> Set a -setIntersection (Fin t1) (Fin t2) = - setFromList [x | x <- treeToList t1, x `elem` treeToList t2] -setIntersection (Fin t1) (Cofin t2) = - setFromList [x | x <- treeToList t1, x `notElem` treeToList t2] -setIntersection (Cofin t1) (Fin t2) = - setIntersection (Fin t1) (Cofin t2) - --- setIntersection (Cofin t1) (Cofin t2) = --- Cofin (treeFromList [x | x <- treeToList t1, ]) - -treeMember :: Ord a => a -> Tree a -> Bool -treeMember _ Leaf = False -treeMember x (Node t1 y t2) = - (x == y) || if x < y then treeMember x t1 else treeMember x t2 - -setMember :: Ord a => a -> Set a -> Bool -setMember x (Cofin t) = not (x `treeMember` t) -setMember x (Fin t) = x `treeMember` t
\ No newline at end of file diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.dyn_hi b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.dyn_hi Binary files differdeleted file mode 100644 index 35f684e..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.dyn_hi +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.dyn_o b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.dyn_o Binary files differdeleted file mode 100644 index 7936b98..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.dyn_o +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.hi b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.hi Binary files differdeleted file mode 100644 index e5ec219..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.hi +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.o b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.o Binary files differdeleted file mode 100644 index d4cab89..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Lib.o +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.dyn_hi b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.dyn_hi Binary files differdeleted file mode 100644 index 427a17b..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.dyn_hi +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.dyn_o b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.dyn_o Binary files differdeleted file mode 100644 index ca9d7ee..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.dyn_o +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.hi b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.hi Binary files differdeleted file mode 100644 index 2667571..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.hi +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.o b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.o Binary files differdeleted file mode 100644 index 2cbcfbc..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/Paths_test.o +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/autogen/Paths_test.hs b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/autogen/Paths_test.hs deleted file mode 100644 index 1d31518..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/autogen/Paths_test.hs +++ /dev/null @@ -1,50 +0,0 @@ -{-# LANGUAGE CPP #-} -{-# LANGUAGE NoRebindableSyntax #-} -{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} -module Paths_test ( - version, - getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, - getDataFileName, getSysconfDir - ) where - -import qualified Control.Exception as Exception -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,0,0] [] -bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath - -bindir = "/home/fmalinka/.cabal/bin" -libdir = "/home/fmalinka/.cabal/lib/x86_64-linux-ghc-8.8.4/test-0.1.0.0-inplace" -dynlibdir = "/home/fmalinka/.cabal/lib/x86_64-linux-ghc-8.8.4" -datadir = "/home/fmalinka/.cabal/share/x86_64-linux-ghc-8.8.4/test-0.1.0.0" -libexecdir = "/home/fmalinka/.cabal/libexec/x86_64-linux-ghc-8.8.4/test-0.1.0.0" -sysconfdir = "/home/fmalinka/.cabal/etc" - -getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath -getBinDir = catchIO (getEnv "test_bindir") (\_ -> return bindir) -getLibDir = catchIO (getEnv "test_libdir") (\_ -> return libdir) -getDynLibDir = catchIO (getEnv "test_dynlibdir") (\_ -> return dynlibdir) -getDataDir = catchIO (getEnv "test_datadir") (\_ -> return datadir) -getLibexecDir = catchIO (getEnv "test_libexecdir") (\_ -> return libexecdir) -getSysconfDir = catchIO (getEnv "test_sysconfdir") (\_ -> return sysconfdir) - -getDataFileName :: FilePath -> IO FilePath -getDataFileName name = do - dir <- getDataDir - return (dir ++ "/" ++ name) diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/autogen/cabal_macros.h b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/autogen/cabal_macros.h deleted file mode 100644 index 8940df9..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/autogen/cabal_macros.h +++ /dev/null @@ -1,132 +0,0 @@ -/* DO NOT EDIT: This file is automatically generated by Cabal */ - -/* package test-0.1.0.0 */ -#ifndef VERSION_test -#define VERSION_test "0.1.0.0" -#endif /* VERSION_test */ -#ifndef MIN_VERSION_test -#define MIN_VERSION_test(major1,major2,minor) (\ - (major1) < 0 || \ - (major1) == 0 && (major2) < 1 || \ - (major1) == 0 && (major2) == 1 && (minor) <= 0) -#endif /* MIN_VERSION_test */ - -/* package base-4.13.0.0 */ -#ifndef VERSION_base -#define VERSION_base "4.13.0.0" -#endif /* VERSION_base */ -#ifndef MIN_VERSION_base -#define MIN_VERSION_base(major1,major2,minor) (\ - (major1) < 4 || \ - (major1) == 4 && (major2) < 13 || \ - (major1) == 4 && (major2) == 13 && (minor) <= 0) -#endif /* MIN_VERSION_base */ - -/* tool gcc-9 */ -#ifndef TOOL_VERSION_gcc -#define TOOL_VERSION_gcc "9" -#endif /* TOOL_VERSION_gcc */ -#ifndef MIN_TOOL_VERSION_gcc -#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ - (major1) < 9 || \ - (major1) == 9 && (major2) < 0 || \ - (major1) == 9 && (major2) == 0 && (minor) <= 0) -#endif /* MIN_TOOL_VERSION_gcc */ - -/* tool ghc-8.8.4 */ -#ifndef TOOL_VERSION_ghc -#define TOOL_VERSION_ghc "8.8.4" -#endif /* TOOL_VERSION_ghc */ -#ifndef MIN_TOOL_VERSION_ghc -#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ - (major1) < 8 || \ - (major1) == 8 && (major2) < 8 || \ - (major1) == 8 && (major2) == 8 && (minor) <= 4) -#endif /* MIN_TOOL_VERSION_ghc */ - -/* tool ghc-pkg-8.8.4 */ -#ifndef TOOL_VERSION_ghc_pkg -#define TOOL_VERSION_ghc_pkg "8.8.4" -#endif /* TOOL_VERSION_ghc_pkg */ -#ifndef MIN_TOOL_VERSION_ghc_pkg -#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ - (major1) < 8 || \ - (major1) == 8 && (major2) < 8 || \ - (major1) == 8 && (major2) == 8 && (minor) <= 4) -#endif /* MIN_TOOL_VERSION_ghc_pkg */ - -/* tool haddock-2.23.0 */ -#ifndef TOOL_VERSION_haddock -#define TOOL_VERSION_haddock "2.23.0" -#endif /* TOOL_VERSION_haddock */ -#ifndef MIN_TOOL_VERSION_haddock -#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ - (major1) < 2 || \ - (major1) == 2 && (major2) < 23 || \ - (major1) == 2 && (major2) == 23 && (minor) <= 0) -#endif /* MIN_TOOL_VERSION_haddock */ - -/* tool hpc-0.67 */ -#ifndef TOOL_VERSION_hpc -#define TOOL_VERSION_hpc "0.67" -#endif /* TOOL_VERSION_hpc */ -#ifndef MIN_TOOL_VERSION_hpc -#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ - (major1) < 0 || \ - (major1) == 0 && (major2) < 67 || \ - (major1) == 0 && (major2) == 67 && (minor) <= 0) -#endif /* MIN_TOOL_VERSION_hpc */ - -/* tool hsc2hs-0.68.7 */ -#ifndef TOOL_VERSION_hsc2hs -#define TOOL_VERSION_hsc2hs "0.68.7" -#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) <= 7) -#endif /* MIN_TOOL_VERSION_hsc2hs */ - -/* tool pkg-config-0.29.1 */ -#ifndef TOOL_VERSION_pkg_config -#define TOOL_VERSION_pkg_config "0.29.1" -#endif /* TOOL_VERSION_pkg_config */ -#ifndef MIN_TOOL_VERSION_pkg_config -#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ - (major1) < 0 || \ - (major1) == 0 && (major2) < 29 || \ - (major1) == 0 && (major2) == 29 && (minor) <= 1) -#endif /* MIN_TOOL_VERSION_pkg_config */ - -/* tool runghc-8.8.4 */ -#ifndef TOOL_VERSION_runghc -#define TOOL_VERSION_runghc "8.8.4" -#endif /* TOOL_VERSION_runghc */ -#ifndef MIN_TOOL_VERSION_runghc -#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ - (major1) < 8 || \ - (major1) == 8 && (major2) < 8 || \ - (major1) == 8 && (major2) == 8 && (minor) <= 4) -#endif /* MIN_TOOL_VERSION_runghc */ - -/* tool strip-2.34 */ -#ifndef TOOL_VERSION_strip -#define TOOL_VERSION_strip "2.34" -#endif /* TOOL_VERSION_strip */ -#ifndef MIN_TOOL_VERSION_strip -#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ - (major1) < 2 || \ - (major1) == 2 && (major2) < 34 || \ - (major1) == 2 && (major2) == 34 && (minor) <= 0) -#endif /* MIN_TOOL_VERSION_strip */ - -#ifndef CURRENT_PACKAGE_KEY -#define CURRENT_PACKAGE_KEY "test-0.1.0.0-inplace" -#endif /* CURRENT_PACKAGE_KEY */ -#ifndef CURRENT_COMPONENT_ID -#define CURRENT_COMPONENT_ID "test-0.1.0.0-inplace" -#endif /* CURRENT_COMPONENT_ID */ -#ifndef CURRENT_PACKAGE_VERSION -#define CURRENT_PACKAGE_VERSION "0.1.0.0" -#endif /* CURRENT_PACKAGE_VERSION */ diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/libHStest-0.1.0.0-inplace-ghc8.8.4.so b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/libHStest-0.1.0.0-inplace-ghc8.8.4.so Binary files differdeleted file mode 100644 index 4b2cf0e..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/libHStest-0.1.0.0-inplace-ghc8.8.4.so +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/libHStest-0.1.0.0-inplace.a b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/libHStest-0.1.0.0-inplace.a Binary files differdeleted file mode 100644 index c561b49..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build/libHStest-0.1.0.0-inplace.a +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/cache/build b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/cache/build Binary files differdeleted file mode 100644 index e2abd70..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/cache/build +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/cache/config b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/cache/config Binary files differdeleted file mode 100644 index 2744e8c..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/cache/config +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/cache/registration b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/cache/registration Binary files differdeleted file mode 100644 index 62af9a4..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/cache/registration +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/package.conf.inplace/package.cache b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/package.conf.inplace/package.cache Binary files differdeleted file mode 100644 index b3cae5c..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/package.conf.inplace/package.cache +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/package.conf.inplace/package.cache.lock b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/package.conf.inplace/package.cache.lock deleted file mode 100644 index e69de29..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/package.conf.inplace/package.cache.lock +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/setup-config b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/setup-config Binary files differdeleted file mode 100644 index 994c49d..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/setup-config +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/build/test-exe/autogen/Paths_test.hs b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/build/test-exe/autogen/Paths_test.hs deleted file mode 100644 index 4bd35ee..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/build/test-exe/autogen/Paths_test.hs +++ /dev/null @@ -1,50 +0,0 @@ -{-# LANGUAGE CPP #-} -{-# LANGUAGE NoRebindableSyntax #-} -{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} -module Paths_test ( - version, - getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, - getDataFileName, getSysconfDir - ) where - -import qualified Control.Exception as Exception -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,0,0] [] -bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath - -bindir = "/home/fmalinka/.cabal/bin" -libdir = "/home/fmalinka/.cabal/lib/x86_64-linux-ghc-8.8.4/test-0.1.0.0-inplace-test-exe" -dynlibdir = "/home/fmalinka/.cabal/lib/x86_64-linux-ghc-8.8.4" -datadir = "/home/fmalinka/.cabal/share/x86_64-linux-ghc-8.8.4/test-0.1.0.0" -libexecdir = "/home/fmalinka/.cabal/libexec/x86_64-linux-ghc-8.8.4/test-0.1.0.0" -sysconfdir = "/home/fmalinka/.cabal/etc" - -getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath -getBinDir = catchIO (getEnv "test_bindir") (\_ -> return bindir) -getLibDir = catchIO (getEnv "test_libdir") (\_ -> return libdir) -getDynLibDir = catchIO (getEnv "test_dynlibdir") (\_ -> return dynlibdir) -getDataDir = catchIO (getEnv "test_datadir") (\_ -> return datadir) -getLibexecDir = catchIO (getEnv "test_libexecdir") (\_ -> return libexecdir) -getSysconfDir = catchIO (getEnv "test_sysconfdir") (\_ -> return sysconfdir) - -getDataFileName :: FilePath -> IO FilePath -getDataFileName name = do - dir <- getDataDir - return (dir ++ "/" ++ name) diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/build/test-exe/autogen/cabal_macros.h b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/build/test-exe/autogen/cabal_macros.h deleted file mode 100644 index 97ffcdb..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/build/test-exe/autogen/cabal_macros.h +++ /dev/null @@ -1,140 +0,0 @@ -/* DO NOT EDIT: This file is automatically generated by Cabal */ - -/* package test-0.1.0.0 */ -#ifndef VERSION_test -#define VERSION_test "0.1.0.0" -#endif /* VERSION_test */ -#ifndef MIN_VERSION_test -#define MIN_VERSION_test(major1,major2,minor) (\ - (major1) < 0 || \ - (major1) == 0 && (major2) < 1 || \ - (major1) == 0 && (major2) == 1 && (minor) <= 0) -#endif /* MIN_VERSION_test */ - -/* package base-4.13.0.0 */ -#ifndef VERSION_base -#define VERSION_base "4.13.0.0" -#endif /* VERSION_base */ -#ifndef MIN_VERSION_base -#define MIN_VERSION_base(major1,major2,minor) (\ - (major1) < 4 || \ - (major1) == 4 && (major2) < 13 || \ - (major1) == 4 && (major2) == 13 && (minor) <= 0) -#endif /* MIN_VERSION_base */ - -/* package test-0.1.0.0 */ -#ifndef VERSION_test -#define VERSION_test "0.1.0.0" -#endif /* VERSION_test */ -#ifndef MIN_VERSION_test -#define MIN_VERSION_test(major1,major2,minor) (\ - (major1) < 0 || \ - (major1) == 0 && (major2) < 1 || \ - (major1) == 0 && (major2) == 1 && (minor) <= 0) -#endif /* MIN_VERSION_test */ - -/* tool gcc-9 */ -#ifndef TOOL_VERSION_gcc -#define TOOL_VERSION_gcc "9" -#endif /* TOOL_VERSION_gcc */ -#ifndef MIN_TOOL_VERSION_gcc -#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ - (major1) < 9 || \ - (major1) == 9 && (major2) < 0 || \ - (major1) == 9 && (major2) == 0 && (minor) <= 0) -#endif /* MIN_TOOL_VERSION_gcc */ - -/* tool ghc-8.8.4 */ -#ifndef TOOL_VERSION_ghc -#define TOOL_VERSION_ghc "8.8.4" -#endif /* TOOL_VERSION_ghc */ -#ifndef MIN_TOOL_VERSION_ghc -#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ - (major1) < 8 || \ - (major1) == 8 && (major2) < 8 || \ - (major1) == 8 && (major2) == 8 && (minor) <= 4) -#endif /* MIN_TOOL_VERSION_ghc */ - -/* tool ghc-pkg-8.8.4 */ -#ifndef TOOL_VERSION_ghc_pkg -#define TOOL_VERSION_ghc_pkg "8.8.4" -#endif /* TOOL_VERSION_ghc_pkg */ -#ifndef MIN_TOOL_VERSION_ghc_pkg -#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ - (major1) < 8 || \ - (major1) == 8 && (major2) < 8 || \ - (major1) == 8 && (major2) == 8 && (minor) <= 4) -#endif /* MIN_TOOL_VERSION_ghc_pkg */ - -/* tool haddock-2.23.0 */ -#ifndef TOOL_VERSION_haddock -#define TOOL_VERSION_haddock "2.23.0" -#endif /* TOOL_VERSION_haddock */ -#ifndef MIN_TOOL_VERSION_haddock -#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ - (major1) < 2 || \ - (major1) == 2 && (major2) < 23 || \ - (major1) == 2 && (major2) == 23 && (minor) <= 0) -#endif /* MIN_TOOL_VERSION_haddock */ - -/* tool hpc-0.67 */ -#ifndef TOOL_VERSION_hpc -#define TOOL_VERSION_hpc "0.67" -#endif /* TOOL_VERSION_hpc */ -#ifndef MIN_TOOL_VERSION_hpc -#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ - (major1) < 0 || \ - (major1) == 0 && (major2) < 67 || \ - (major1) == 0 && (major2) == 67 && (minor) <= 0) -#endif /* MIN_TOOL_VERSION_hpc */ - -/* tool hsc2hs-0.68.7 */ -#ifndef TOOL_VERSION_hsc2hs -#define TOOL_VERSION_hsc2hs "0.68.7" -#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) <= 7) -#endif /* MIN_TOOL_VERSION_hsc2hs */ - -/* tool pkg-config-0.29.1 */ -#ifndef TOOL_VERSION_pkg_config -#define TOOL_VERSION_pkg_config "0.29.1" -#endif /* TOOL_VERSION_pkg_config */ -#ifndef MIN_TOOL_VERSION_pkg_config -#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ - (major1) < 0 || \ - (major1) == 0 && (major2) < 29 || \ - (major1) == 0 && (major2) == 29 && (minor) <= 1) -#endif /* MIN_TOOL_VERSION_pkg_config */ - -/* tool runghc-8.8.4 */ -#ifndef TOOL_VERSION_runghc -#define TOOL_VERSION_runghc "8.8.4" -#endif /* TOOL_VERSION_runghc */ -#ifndef MIN_TOOL_VERSION_runghc -#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ - (major1) < 8 || \ - (major1) == 8 && (major2) < 8 || \ - (major1) == 8 && (major2) == 8 && (minor) <= 4) -#endif /* MIN_TOOL_VERSION_runghc */ - -/* tool strip-2.34 */ -#ifndef TOOL_VERSION_strip -#define TOOL_VERSION_strip "2.34" -#endif /* TOOL_VERSION_strip */ -#ifndef MIN_TOOL_VERSION_strip -#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ - (major1) < 2 || \ - (major1) == 2 && (major2) < 34 || \ - (major1) == 2 && (major2) == 34 && (minor) <= 0) -#endif /* MIN_TOOL_VERSION_strip */ - -#ifndef CURRENT_COMPONENT_ID -#define CURRENT_COMPONENT_ID "test-0.1.0.0-inplace-test-exe" -#endif /* CURRENT_COMPONENT_ID */ -#ifndef CURRENT_PACKAGE_VERSION -#define CURRENT_PACKAGE_VERSION "0.1.0.0" -#endif /* CURRENT_PACKAGE_VERSION */ diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/cache/config b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/cache/config Binary files differdeleted file mode 100644 index 54532e9..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/cache/config +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/package.conf.inplace/package.cache b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/package.conf.inplace/package.cache Binary files differdeleted file mode 100644 index b3cae5c..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/package.conf.inplace/package.cache +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/package.conf.inplace/package.cache.lock b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/package.conf.inplace/package.cache.lock deleted file mode 100644 index e69de29..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/package.conf.inplace/package.cache.lock +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/setup-config b/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/setup-config Binary files differdeleted file mode 100644 index 2f2dacd..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/setup-config +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/cache/compiler b/Semestr 3/pf/lista8/test/dist-newstyle/cache/compiler Binary files differdeleted file mode 100644 index 90204f4..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/cache/compiler +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/cache/config b/Semestr 3/pf/lista8/test/dist-newstyle/cache/config Binary files differdeleted file mode 100644 index e43df4b..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/cache/config +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/cache/elaborated-plan b/Semestr 3/pf/lista8/test/dist-newstyle/cache/elaborated-plan Binary files differdeleted file mode 100644 index c8e3c87..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/cache/elaborated-plan +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/cache/improved-plan b/Semestr 3/pf/lista8/test/dist-newstyle/cache/improved-plan Binary files differdeleted file mode 100644 index 6646f23..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/cache/improved-plan +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/cache/plan.json b/Semestr 3/pf/lista8/test/dist-newstyle/cache/plan.json deleted file mode 100644 index c6b3d86..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/cache/plan.json +++ /dev/null @@ -1 +0,0 @@ -{"cabal-version":"3.2.0.0","cabal-lib-version":"3.2.0.0","compiler-id":"ghc-8.8.4","os":"linux","arch":"x86_64","install-plan":[{"type":"pre-existing","id":"base-4.13.0.0","pkg-name":"base","pkg-version":"4.13.0.0","depends":["ghc-prim-0.5.3","integer-gmp-1.0.2.0","rts"]},{"type":"pre-existing","id":"ghc-prim-0.5.3","pkg-name":"ghc-prim","pkg-version":"0.5.3","depends":["rts"]},{"type":"pre-existing","id":"integer-gmp-1.0.2.0","pkg-name":"integer-gmp","pkg-version":"1.0.2.0","depends":["ghc-prim-0.5.3"]},{"type":"pre-existing","id":"rts","pkg-name":"rts","pkg-version":"1.0","depends":[]},{"type":"configured","id":"test-0.1.0.0-inplace","pkg-name":"test","pkg-version":"0.1.0.0","flags":{},"style":"local","pkg-src":{"type":"local","path":"/mnt/c/Users/franc/Documents/pf/lista8/test/."},"dist-dir":"/mnt/c/Users/franc/Documents/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0","depends":["base-4.13.0.0"],"exe-depends":[],"component-name":"lib"},{"type":"configured","id":"test-0.1.0.0-inplace-test-exe","pkg-name":"test","pkg-version":"0.1.0.0","flags":{},"style":"local","pkg-src":{"type":"local","path":"/mnt/c/Users/franc/Documents/pf/lista8/test/."},"dist-dir":"/mnt/c/Users/franc/Documents/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe","depends":["base-4.13.0.0","test-0.1.0.0-inplace"],"exe-depends":[],"component-name":"exe:test-exe","bin-file":"/mnt/c/Users/franc/Documents/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/x/test-exe/build/test-exe/test-exe"},{"type":"configured","id":"test-0.1.0.0-inplace-test-test","pkg-name":"test","pkg-version":"0.1.0.0","flags":{},"style":"local","pkg-src":{"type":"local","path":"/mnt/c/Users/franc/Documents/pf/lista8/test/."},"dist-dir":"/mnt/c/Users/franc/Documents/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/t/test-test","depends":["base-4.13.0.0","test-0.1.0.0-inplace"],"exe-depends":[],"component-name":"test:test-test","bin-file":"/mnt/c/Users/franc/Documents/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/t/test-test/build/test-test/test-test"}]}
\ No newline at end of file diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/cache/solver-plan b/Semestr 3/pf/lista8/test/dist-newstyle/cache/solver-plan Binary files differdeleted file mode 100644 index 0131873..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/cache/solver-plan +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/cache/source-hashes b/Semestr 3/pf/lista8/test/dist-newstyle/cache/source-hashes Binary files differdeleted file mode 100644 index f9bc0fd..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/cache/source-hashes +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/cache/up-to-date b/Semestr 3/pf/lista8/test/dist-newstyle/cache/up-to-date Binary files differdeleted file mode 100644 index 0d13532..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/cache/up-to-date +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/packagedb/ghc-8.8.4/package.cache b/Semestr 3/pf/lista8/test/dist-newstyle/packagedb/ghc-8.8.4/package.cache Binary files differdeleted file mode 100644 index d2ef65e..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/packagedb/ghc-8.8.4/package.cache +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/packagedb/ghc-8.8.4/package.cache.lock b/Semestr 3/pf/lista8/test/dist-newstyle/packagedb/ghc-8.8.4/package.cache.lock deleted file mode 100644 index e69de29..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/packagedb/ghc-8.8.4/package.cache.lock +++ /dev/null diff --git a/Semestr 3/pf/lista8/test/dist-newstyle/packagedb/ghc-8.8.4/test-0.1.0.0-inplace.conf b/Semestr 3/pf/lista8/test/dist-newstyle/packagedb/ghc-8.8.4/test-0.1.0.0-inplace.conf deleted file mode 100644 index deb3fa1..0000000 --- a/Semestr 3/pf/lista8/test/dist-newstyle/packagedb/ghc-8.8.4/test-0.1.0.0-inplace.conf +++ /dev/null @@ -1,34 +0,0 @@ -name: test -version: 0.1.0.0 -visibility: public -id: test-0.1.0.0-inplace -key: test-0.1.0.0-inplace -license: BSD-3-Clause -copyright: 2020 Author name here -maintainer: example@example.com -author: Author name here -homepage: https://github.com/githubuser/test#readme -description: - Please see the README on GitHub at <https://github.com/githubuser/test#readme> - -abi: inplace -exposed: True -exposed-modules: Lib -hidden-modules: Paths_test -import-dirs: - /mnt/c/Users/franc/Documents/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build - -library-dirs: - /mnt/c/Users/franc/Documents/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build - -dynamic-library-dirs: - /mnt/c/Users/franc/Documents/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/build - -data-dir: /mnt/c/Users/franc/Documents/pf/lista8/test -hs-libraries: HStest-0.1.0.0-inplace -depends: base-4.13.0.0 -haddock-interfaces: - /mnt/c/Users/franc/Documents/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/doc/html/test/test.haddock - -haddock-html: - /mnt/c/Users/franc/Documents/pf/lista8/test/dist-newstyle/build/x86_64-linux/ghc-8.8.4/test-0.1.0.0/doc/html/test diff --git a/Semestr 3/pf/lista8/test/package.yaml b/Semestr 3/pf/lista8/test/package.yaml deleted file mode 100644 index 91e0cfa..0000000 --- a/Semestr 3/pf/lista8/test/package.yaml +++ /dev/null @@ -1,48 +0,0 @@ -name: test -version: 0.1.0.0 -github: "githubuser/test" -license: BSD3 -author: "Author name here" -maintainer: "example@example.com" -copyright: "2020 Author name here" - -extra-source-files: -- README.md -- ChangeLog.md - -# Metadata used when publishing your package -# synopsis: Short description of your package -# category: Web - -# To avoid duplicated efforts in documentation and dealing with the -# complications of embedding Haddock markup inside cabal files, it is -# common to point users to the README.md file. -description: Please see the README on GitHub at <https://github.com/githubuser/test#readme> - -dependencies: -- base >= 4.7 && < 5 - -library: - source-dirs: src - -executables: - test-exe: - main: Main.hs - source-dirs: app - ghc-options: - - -threaded - - -rtsopts - - -with-rtsopts=-N - dependencies: - - test - -tests: - test-test: - main: Spec.hs - source-dirs: test - ghc-options: - - -threaded - - -rtsopts - - -with-rtsopts=-N - dependencies: - - test diff --git a/Semestr 3/pf/lista8/test/src/Lib.hs b/Semestr 3/pf/lista8/test/src/Lib.hs deleted file mode 100644 index d36ff27..0000000 --- a/Semestr 3/pf/lista8/test/src/Lib.hs +++ /dev/null @@ -1,6 +0,0 @@ -module Lib - ( someFunc - ) where - -someFunc :: IO () -someFunc = putStrLn "someFunc" diff --git a/Semestr 3/pf/lista8/test/test.cabal b/Semestr 3/pf/lista8/test/test.cabal deleted file mode 100644 index 0d73369..0000000 --- a/Semestr 3/pf/lista8/test/test.cabal +++ /dev/null @@ -1,62 +0,0 @@ -cabal-version: 1.12 - --- This file has been generated from package.yaml by hpack version 0.31.2. --- --- see: https://github.com/sol/hpack --- --- hash: 643499591d6ce6070d19763e325b50c6e2d76cbf091125bdf17e6c9a8d421ad9 - -name: test -version: 0.1.0.0 -description: Please see the README on GitHub at <https://github.com/githubuser/test#readme> -homepage: https://github.com/githubuser/test#readme -bug-reports: https://github.com/githubuser/test/issues -author: Author name here -maintainer: example@example.com -copyright: 2020 Author name here -license: BSD3 -license-file: LICENSE -build-type: Simple -extra-source-files: - README.md - ChangeLog.md - -source-repository head - type: git - location: https://github.com/githubuser/test - -library - exposed-modules: - Lib - other-modules: - Paths_test - hs-source-dirs: - src - build-depends: - base >=4.7 && <5 - default-language: Haskell2010 - -executable test-exe - main-is: Main.hs - other-modules: - Paths_test - hs-source-dirs: - app - ghc-options: -threaded -rtsopts -with-rtsopts=-N - build-depends: - base >=4.7 && <5 - , test - default-language: Haskell2010 - -test-suite test-test - type: exitcode-stdio-1.0 - main-is: Spec.hs - other-modules: - Paths_test - hs-source-dirs: - test - ghc-options: -threaded -rtsopts -with-rtsopts=-N - build-depends: - base >=4.7 && <5 - , test - default-language: Haskell2010 diff --git a/Semestr 3/pf/lista8/test/test/Spec.hs b/Semestr 3/pf/lista8/test/test/Spec.hs deleted file mode 100644 index cd4753f..0000000 --- a/Semestr 3/pf/lista8/test/test/Spec.hs +++ /dev/null @@ -1,2 +0,0 @@ -main :: IO () -main = putStrLn "Test suite not yet implemented" |