8000 add all files · willdoescode/haskell-leetcode@e155f99 · GitHub
[go: up one dir, main page]

Skip to content

Commit e155f99

Browse files
committed
add all files
0 parents  commit e155f99

File tree

42 files changed

+756
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+756
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.idea
2+
/out
3+
LICENSE

.stack-work/dist/x86_64-osx/Cabal-3.0.1.0/build-lock

Whitespace-only changes.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{-# LANGUAGE CPP #-}
2+
{-# LANGUAGE NoRebindableSyntax #-}
3+
{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
4+
module Paths_haskell_things (
5+
version,
6+
getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir,
7+
getDataFileName, getSysconfDir
8+
) where
9+
10+
import qualified Control.Exception as Exception
11+
import Data.Version (Version(..))
12+
import System.Environment (getEnv)
13+
import Prelude
14+
15+
#if defined(VERSION_base)
16+
17+
#if MIN_VERSION_base(4,0,0)
18+
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
19+
#else
20+
catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a
21+
#endif
22+
23+
#else
24+
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
25+
#endif
26+
catchIO = Exception.catch
27+
28+
version :: Version
29+
version = Version [0,1,0,0] []
30+
bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath
31+
32+
bindir = "/Users/willlane/dev/haskell-things/.stack-work/install/x86_64-osx/0f31877803bbeb7698701ecdbd449cc61a4bd35da357b3d76bc4887441b4c198/8.8.4/bin"
33+
libdir = "/Users/willlane/dev/haskell-things/.stack-work/install/x86_64-osx/0f31877803bbeb7698701ecdbd449cc61a4bd35da357b3d76bc4887441b4c198/8.8.4/lib/x86_64-osx-ghc-8.8.4/haskell-things-0.1.0.0-FGG0XzB0rU6LJoQM1gZIY4-haskell-things"
34+
dynlibdir = "/Users/willlane/dev/haskell-things/.stack-work/install/x86_64-osx/0f31877803bbeb7698701ecdbd449cc61a4bd35da357b3d76bc4887441b4c198/8.8.4/lib/x86_64-osx-ghc-8.8.4"
35+
datadir = "/Users/willlane/dev/haskell-things/.stack-work/install/x86_64-osx/0f31877803bbeb7698701ecdbd449cc61a4bd35da357b3d76bc4887441b4c198/8.8.4/share/x86_64-osx-ghc-8.8.4/haskell-things-0.1.0.0"
36+
libexecdir = "/Users/willlane/dev/haskell-things/.stack-work/install/x86_64-osx/0f31877803bbeb7698701ecdbd449cc61a4bd35da357b3d76bc4887441b4c198/8.8.4/libexec/x86_64-osx-ghc-8.8.4/haskell-things-0.1.0.0"
37+
sysconfdir = "/Users/willlane/dev/haskell-things/.stack-work/install/x86_64-osx/0f31877803bbeb7698701ecdbd449cc61a4bd35da357b3d76bc4887441b4c198/8.8.4/etc"
38+
39+
getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath
40+
getBinDir = catchIO (getEnv "haskell_things_bindir") (\_ -> return bindir)
41+
getLibDir = catchIO (getEnv "haskell_things_libdir") (\_ -> return libdir)
42+
getDynLibDir = catchIO (getEnv "haskell_things_dynlibdir") (\_ -> return dynlibdir)
43+
getDataDir = catchIO (getEnv "haskell_things_datadir") (\_ -> return datadir)
44+
getLibexecDir = catchIO (getEnv "haskell_things_libexecdir") (\_ -> return libexecdir)
45+
getSysconfDir = catchIO (getEnv "haskell_things_sysconfdir") (\_ -> return sysconfdir)
46+
47+
getDataFileName :: FilePath -> IO FilePath
48+
getDataFileName name = do
49+
dir <- getDataDir
50+
return (dir ++ "/" ++ name)
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
/* DO NOT EDIT: This file is automatically generated by Cabal */
2+
3+
/* package haskell-things-0.1.0.0 */
4+
#ifndef VERSION_haskell_things
5+
#define VERSION_haskell_things "0.1.0.0"
6+
#endif /* VERSION_haskell_things */
7+
#ifndef MIN_VERSION_haskell_things
8+
#define MIN_VERSION_haskell_things(major1,major2,minor) (\
9+
(major1) < 0 || \
10+
(major1) == 0 && (major2) < 1 || \
11+
(major1) == 0 && (major2) == 1 && (minor) <= 0)
12+
#endif /* MIN_VERSION_haskell_things */
13+
14+
/* package base-4.13.0.0 */
15+
#ifndef VERSION_base
16+
#define VERSION_base "4.13.0.0"
17+
#endif /* VERSION_base */
18+
#ifndef MIN_VERSION_base
19+
#define MIN_VERSION_base(major1,major2,minor) (\
20+
(major1) < 4 || \
21+
(major1) == 4 && (major2) < 13 || \
22+
(major1) == 4 && (major2) == 13 && (minor) <= 0)
23+
#endif /* MIN_VERSION_base */
24+
25+
/* package containers-0.6.2.1 */
26+
#ifndef VERSION_containers
27+
#define VERSION_containers "0.6.2.1"
28+
#endif /* VERSION_containers */
29+
#ifndef MIN_VERSION_containers
30+
#define MIN_VERSION_containers(major1,major2,minor) (\
31+
(major1) < 0 || \
32+
(major1) == 0 && (major2) < 6 || \
33+
(major1) == 0 && (major2) == 6 && (minor) <= 2)
34+
#endif /* MIN_VERSION_containers */
35+
36+
/* tool gcc-12.0.0 */
37+
#ifndef TOOL_VERSION_gcc
38+
#define TOOL_VERSION_gcc "12.0.0"
39+
#endif /* TOOL_VERSION_gcc */
40+
#ifndef MIN_TOOL_VERSION_gcc
41+
#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\
42+
(major1) < 12 || \
43+
(major1) == 12 && (major2) < 0 || \
44+
(major1) == 12 && (major2) == 0 && (minor) <= 0)
45+
#endif /* MIN_TOOL_VERSION_gcc */
46+
47+
/* tool ghc-8.8.4 */
48+
#ifndef TOOL_VERSION_ghc
49+
#define TOOL_VERSION_ghc "8.8.4"
50+
#endif /* TOOL_VERSION_ghc */
51+
#ifndef MIN_TOOL_VERSION_ghc
52+
#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\
53+
(major1) < 8 || \
54+
(major1) == 8 && (major2) < 8 || \
55+
(major1) == 8 && (major2) == 8 && (minor) <= 4)
56+
#endif /* MIN_TOOL_VERSION_ghc */
57+
58+
/* tool ghc-pkg-8.8.4 */
59+
#ifndef TOOL_VERSION_ghc_pkg
60+
#define TOOL_VERSION_ghc_pkg "8.8.4"
61+
#endif /* TOOL_VERSION_ghc_pkg */
62+
#ifndef MIN_TOOL_VERSION_ghc_pkg
63+
#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\
64+
(major1) < 8 || \
65+
(major1) == 8 && (major2) < 8 || \
66+
(major1) == 8 && (major2) == 8 && (minor) <= 4)
67+
#endif /* MIN_TOOL_VERSION_ghc_pkg */
68+
69+
/* tool haddock-2.23.0 */
70+
#ifndef TOOL_VERSION_haddock
71+
#define TOOL_VERSION_haddock "2.23.0"
72+
#endif /* TOOL_VERSION_haddock */
73+
#ifndef MIN_TOOL_VERSION_haddock
74+
#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\
75+
(major1) < 2 || \
76+
(major1) == 2 && (major2) < 23 || \
77+
(major1) == 2 && (major2) == 23 && (minor) <= 0)
78+
#endif /* MIN_TOOL_VERSION_haddock */
79+
80+
/* tool hpc-0.67 */
81+
#ifndef TOOL_VERSION_hpc
82+
#define TOOL_VERSION_hpc "0.67"
83+
#endif /* TOOL_VERSION_hpc */
84+
#ifndef MIN_TOOL_VERSION_hpc
85+
#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\
86+
(major1) < 0 || \
87+
(major1) == 0 && (major2) < 67 || \
88+
(major1) == 0 && (major2) == 67 && (minor) <= 0)
89+
#endif /* MIN_TOOL_VERSION_hpc */
90+
91+
/* tool hsc2hs-0.68.7 */
92+
#ifndef TOOL_VERSION_hsc2hs
93+
#define TOOL_VERSION_hsc2hs "0.68.7"
94+
#endif /* TOOL_VERSION_hsc2hs */
95+
#ifndef MIN_TOOL_VERSION_hsc2hs
96+
#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\
97+
(major1) < 0 || \
98+
(major1) == 0 && (major2) < 68 || \
99+
(major1) == 0 && (major2) == 68 && (minor) <= 7)
100+
#endif /* MIN_TOOL_VERSION_hsc2hs */
101+
102+
/* tool pkg-config-0.29.2 */
103+
#ifndef TOOL_VERSION_pkg_config
104+
#define TOOL_VERSION_pkg_config "0.29.2"
105+
#endif /* TOOL_VERSION_pkg_config */
106+
#ifndef MIN_TOOL_VERSION_pkg_config
107+
#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\
108+
(major1) < 0 || \
109+
(major1) == 0 && (major2) < 29 || \
110+
(major1) == 0 && (major2) == 29 && (minor) <= 2)
111+
#endif /* MIN_TOOL_VERSION_pkg_config */
112+
113+
/* tool runghc-8.8.4 */
114+
#ifndef TOOL_VERSION_runghc
115+
#define TOOL_VERSION_runghc "8.8.4"
116+
#endif /* TOOL_VERSION_runghc */
117+
#ifndef MIN_TOOL_VERSION_runghc
118+
#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\
119+
(major1) < 8 || \
120+
(major1) == 8 && (major2) < 8 || \
121+
(major1) == 8 && (major2) == 8 && (minor) <= 4)
122+
#endif /* MIN_TOOL_VERSION_runghc */
123+
124+
#ifndef CURRENT_COMPONENT_ID
125+
#define CURRENT_COMPONENT_ID "haskell-things-0.1.0.0-FGG0XzB0rU6LJoQM1gZIY4-haskell-things"
126+
#endif /* CURRENT_COMPONENT_ID */
127+
#ifndef CURRENT_PACKAGE_VERSION
128+
#define CURRENT_PACKAGE_VERSION "0.1.0.0"
129+
#endif /* CURRENT_PACKAGE_VERSION */
Binary file not shown.
Binary file not shown.

.stack-work/dist/x86_64-osx/Cabal-3.0.1.0/package.conf.inplace/package.cache.lock

Whitespace-only changes.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/Users/willlane/dev/haskell-things/src/FizzBuzz.hs:
2+
hash: b810a09a7ed5aafbd4e75c24d4a8d341b0ced240a1fb74d09885a89660599442
3+
/Users/willlane/dev/haskell-things/src/Main.hs:
4+
hash: bf1f4128a2e6af13269aeee58a84dc0ad89ee72f38b42c3cdece9e12c990171d
5+
/Users/willlane/dev/haskell-things/src/RunningSum.hs:
6+
hash: a20a35148678d2fc1666a7d94eea3e0091f2e40b28ace78946fcc352ec594550
7+
/Users/willlane/dev/haskell-things/src/TwoSum.hs:
8+
hash: 8ca110ec4c06bf21658525f4637f07eb08533de8242b4a7f1964be7f5d86d740
9+
/Users/willlane/dev/haskell-things/src/SmallerNumbersThanCurrent.hs:
10+
hash: 58a99824da73934854787a3c77ed646c44f17eecb52f4561b8b69dba22afbb61
11+
/Users/willlane/dev/haskell-things/haskell-things.cabal:
12+
hash: 39bbe1bddc52887fb9138a96a5fa1ac6dce89e0d67bc9bbd07f743b945364460
13+
/Users/willlane/dev/haskell-things/README.md:
14+
hash: bf68f056ce9f0d0ee2ceec4f7e809f1faa9b9c25b6404c41c6a655eb57ca251e
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Just used for its modification time
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
/* DO NOT EDIT: This file is automatically generated by Cabal */
2+
3+
/* package haskell-things-0.1.0.0 */
4+
#ifndef VERSION_haskell_things
5+
#define VERSION_haskell_things "0.1.0.0"
6+
#endif /* VERSION_haskell_things */
7+
#ifndef MIN_VERSION_haskell_things
8+
#define MIN_VERSION_haskell_things(major1,major2,minor) (\
9+
(major1) < 0 || \
10+
(major1) == 0 && (major2) < 1 || \
11+
(major1) == 0 && (major2) == 1 && (minor) <= 0)
12+
#endif /* MIN_VERSION_haskell_things */
13+
14+
/* package base-4.13.0.0 */
15+
#ifndef VERSION_base
16+
#define VERSION_base "4.13.0.0"
17+
#endif /* VERSION_base */
18+
#ifndef MIN_VERSION_base
19+
#define MIN_VERSION_base(major1,major2,minor) (\
20+
(major1) < 4 || \
21+
(major1) == 4 && (major2) < 13 || \
22+
(major1) == 4 && (major2) == 13 && (minor) <= 0)
23+
#endif /* MIN_VERSION_base */
24+
25+
/* tool gcc-12.0.0 */
26+
#ifndef TOOL_VERSION_gcc
27+
#define TOOL_VERSION_gcc "12.0.0"
28+
#endif /* TOOL_VERSION_gcc */
29+
#ifndef MIN_TOOL_VERSION_gcc
30+
#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\
31+
(major1) < 12 || \
32+
(major1) == 12 && (major2) < 0 || \
33+
(major1) == 12 && (major2) == 0 && (minor) <= 0)
34+
#endif /* MIN_TOOL_VERSION_gcc */
35+
36+
/* tool ghc-8.8.4 */
37+
#ifndef TOOL_VERSION_ghc
38+
#define TOOL_VERSION_ghc "8.8.4"
39+
#endif /* TOOL_VERSION_ghc */
40+
#ifndef MIN_TOOL_VERSION_ghc
41+
#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\
42+
(major1) < 8 || \
43+
(major1) == 8 && (major2) < 8 || \
44+
(major1) == 8 && (major2) == 8 && (minor) <= 4)
45+
#endif /* MIN_TOOL_VERSION_ghc */
46+
47+
/* tool ghc-pkg-8.8.4 */
48+
#ifndef TOOL_VERSION_ghc_pkg
49+
#define TOOL_VERSION_ghc_pkg "8.8.4"
50+
#endif /* TOOL_VERSION_ghc_pkg */
51+
#ifndef MIN_TOOL_VERSION_ghc_pkg
52+
#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\
53+
(major1) < 8 || \
54+
(major1) == 8 && (major2) < 8 || \
55+
(major1) == 8 && (major2) == 8 && (minor) <= 4)
56+
#endif /* MIN_TOOL_VERSION_ghc_pkg */
57+
58+
/* tool haddock-2.23.0 */
59+
#ifndef TOOL_VERSION_haddock
60+
#define TOOL_VERSION_haddock "2.23.0"
61+
#endif /* TOOL_VERSION_haddock */
62+
#ifndef MIN_TOOL_VERSION_haddock
63+
#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\
64+
(major1) < 2 || \
65+
(major1) == 2 && (major2) < 23 || \
66+
(major1) == 2 && (major2) == 23 && (minor) <= 0)
67+
#endif /* MIN_TOOL_VERSION_haddock */
68+
69+
/* tool hpc-0.67 */
70+
#ifndef TOOL_VERSION_hpc
71+
#define TOOL_VERSION_hpc "0.67"
72+
#endif /* TOOL_VERSION_hpc */
73+
#ifndef MIN_TOOL_VERSION_hpc
74+
#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\
75+
(major1) < 0 || \
76+
(major1) == 0 && (major2) < 67 || \
77+
(major1) == 0 && (major2) == 67 && (minor) <= 0)
78+
#endif /* MIN_TOOL_VERSION_hpc */
79+
80+
/* tool hsc2hs-0.68.7 */
81+
#ifndef TOOL_VERSION_hsc2hs
82+
#define TOOL_VERSION_hsc2hs "0.68.7"
83+
#endif /* TOOL_VERSION_hsc2hs */
84+
#ifndef MIN_TOOL_VERSION_hsc2hs
85+
#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\
86+
(major1) < 0 || \
87+
(major1) == 0 && (major2) < 68 || \
88+
(major1) == 0 && (major2) == 68 && (minor) <= 7)
89+
#endif /* MIN_TOOL_VERSION_hsc2hs */
90+
91+
/* tool pkg-config-0.29.2 */
92+
#ifndef TOOL_VERSION_pkg_config
93+
#define TOOL_VERSION_pkg_config "0.29.2"
94+
#endif /* TOOL_VERSION_pkg_config */
95+
#ifndef MIN_TOOL_VERSION_pkg_config
96+
#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\
97+
(major1) < 0 || \
98+
(major1) == 0 && (major2) < 29 || \
99+
(major1) == 0 && (major2) == 29 && (minor) <= 2)
100+
#endif /* MIN_TOOL_VERSION_pkg_config */
101+
102+
/* tool runghc-8.8.4 */
103+
#ifndef TOOL_VERSION_runghc
104+
#define TOOL_VERSION_runghc "8.8.4"
105+
#endif /* TOOL_VERSION_runghc */
106+
#ifndef MIN_TOOL_VERSION_runghc
107+
#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\
108+
(major1) < 8 || \
109+
(major1) == 8 && (major2) < 8 || \
110+
(major1) == 8 && (major2) == 8 && (minor) <= 4)
111+
#endif /* MIN_TOOL_VERSION_runghc */
112+
113+
#ifndef CURRENT_COMPONENT_ID
114+
#define CURRENT_COMPONENT_ID "haskell-things-0.1.0.0-9AQKNpFVX8fCBl8k5I0ZKu-haskell-things"
115+
#endif /* CURRENT_COMPONENT_ID */
116+
#ifndef CURRENT_PACKAGE_VERSION
117+
#define CURRENT_PACKAGE_VERSION "0.1.0.0"
118+
#endif /* CURRENT_PACKAGE_VERSION */
119+
120+
#undef CURRENT_PACKAGE_KEY
121+
#undef CURRENT_COMPONENT_ID

0 commit comments

Comments
 (0)
0