File tree Expand file tree Collapse file tree 5 files changed +49
-4
lines changed Expand file tree Collapse file tree 5 files changed +49
-4
lines changed Original file line number Diff line number Diff line change 1
1
module Main where
2
2
3
+ import Lib
4
+
3
5
main :: IO ()
4
6
main = do
5
7
putStrLn " hello world"
Original file line number Diff line number Diff line change 2
2
--
3
3
-- see: https://github.com/sol/hpack
4
4
--
5
- -- hash: 520fe73f467521f75fc0cc670e59dee22d67c545930cc720511147707cba1c52
5
+ -- hash: e2247277608877ba4abe74ee652124a5b5890454722ba5977060b5af4a8a548d
6
6
7
7
name : internal-libraries
8
8
version : 0.1.0.0
@@ -14,17 +14,41 @@ copyright: 2017
14
14
license : BSD3
15
15
license-file : LICENSE
16
16
build-type : Simple
17
- cabal-version : >= 1.10
17
+ cabal-version : >= 2.0
18
18
19
19
extra-source-files :
20
20
README.md
21
21
22
+ library
23
+ exposed-modules :
24
+ Lib
25
+ other-modules :
26
+ Paths_internal_libraries
27
+ hs-source-dirs :
28
+ src
29
+ build-depends :
30
+ base >= 4.7 && < 5
31
+ , internal
32
+ default-language : Haskell2010
33
+
34
+ library internal
35
+ exposed-modules :
36
+ Internal
37
+ other-modules :
38
+ Paths_internal_libraries
39
+ hs-source-dirs :
40
+ internal
41
+ build-depends :
42
+ base >= 4.7 && < 5
43
+ default-language : Haskell2010
44
+
22
45
executable internal-libraries
23
46
main-is : Main.hs
24
47
other-modules :
25
48
Paths_internal_libraries
26
49
hs-source-dirs :
27
- src
50
+ app
28
51
build-depends :
29
52
base >= 4.7 && < 5
53
+ , internal-libraries
30
54
default-language : Haskell2010
Original file line number Diff line number Diff line change
1
+ module Internal where
Original file line number Diff line number Diff line change @@ -14,7 +14,22 @@ extra-source-files:
14
14
dependencies :
15
15
- base >= 4.7 && < 5
16
16
17
+ library :
18
+ source-dirs : src
19
+ exposed-modules :
20
+ - Lib
21
+ dependencies :
22
+ - internal
23
+
24
+ internal-libraries :
25
+ internal :
26
+ source-dirs : internal
27
+ exposed-modules :
28
+ - Internal
29
+
17
30
executables :
18
31
internal-libraries :
19
- source-dirs : src
32
+ source-dirs : app
20
33
main : Main.hs
34
+ dependencies :
35
+ - internal-libraries
Original file line number Diff line number Diff line change
1
+ module Lib where
2
+
3
+ import Internal
You can’t perform that action at this time.
0 commit comments