質問編集履歴

1

修正、追加依頼でいただいた情報を追記しました。

2020/01/26 03:34

投稿

RheoTommy
RheoTommy

スコア13

test CHANGED
File without changes
test CHANGED
@@ -47,3 +47,83 @@
47
47
 
48
48
 
49
49
  その他、必要な情報があったら追記します。
50
+
51
+
52
+
53
+ ## 追記
54
+
55
+ (1)
56
+
57
+ ```shell
58
+
59
+ $ stack build
60
+
61
+ AtCoder-0.1.0.0: unregistering (local file changes: app/Main.hs)
62
+
63
+ AtCoder> configure (lib + exe)
64
+
65
+ Configuring AtCoder-0.1.0.0...
66
+
67
+ AtCoder> build (lib + exe)
68
+
69
+ Preprocessing library for AtCoder-0.1.0.0..
70
+
71
+ Building library for AtCoder-0.1.0.0..
72
+
73
+ Preprocessing executable 'AtCoder-exe' for AtCoder-0.1.0.0..
74
+
75
+ Building executable 'AtCoder-exe' for AtCoder-0.1.0.0..
76
+
77
+ [3 of 3] Compiling Main
78
+
79
+ Linking .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/build/AtCoder-exe/AtCoder-exe ...
80
+
81
+ AtCoder> copy/register
82
+
83
+ Installing library in /home/rheo/Programming/Haskell/AtCoder/.stack-work/install/x86_64-linux-tinfo6/898bda1ae1c16010598674766ebc9f375e301b9972c152b2f1f5bb58ba92c01e/8.6.5/lib/x86_64-linux-ghc-8.6.5/AtCoder-0.1.0.0-LSTvfxvgTvfAibwxmPYywb
84
+
85
+ Installing executable AtCoder-exe in /home/rheo/Programming/Haskell/AtCoder/.stack-work/install/x86_64-linux-tinfo6/898bda1ae1c16010598674766ebc9f375e301b9972c152b2f1f5bb58ba92c01e/8.6.5/bin
86
+
87
+ Registering library for AtCoder-0.1.0.0..
88
+
89
+ ```
90
+
91
+
92
+
93
+ また、`stack new`で作成したプロジェクトでも機能しませんでした。HIEではなく、intellij-haskellで開発する際には、同じプロジェクトでも問題なくビルド、実行ができました。
94
+
95
+
96
+
97
+ (2)
98
+
99
+ ```shell
100
+
101
+ $ cat log
102
+
103
+ 2020-01-26 12:15:51.886807453 [ThreadId 4] - Run entered for HIE(hie) Version 1.0.0.0, Git revision 6fb1a548846a38a44659e5746718fbd1b1d278d9 (3570 commits) x86_64 ghc-8.6.5
104
+
105
+ 2020-01-26 12:15:51.887018889 [ThreadId 4] - Operating as a LSP server on stdio
106
+
107
+ 2020-01-26 12:15:51.887059816 [ThreadId 4] - Current directory:/home/rheo/Programming/Haskell/AtCoder
108
+
109
+ 2020-01-26 12:15:51.887094246 [ThreadId 4] - Operating system:linux
110
+
111
+ 2020-01-26 12:15:51.887143875 [ThreadId 4] - args:["--lsp","-d","-l","log"]
112
+
113
+ 2020-01-26 12:15:51.887257899 [ThreadId 4] -
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ haskell-lsp:Starting up server ...
124
+
125
+ ```
126
+
127
+
128
+
129
+ かなり待ちましたがこれより多くのログが書かれることはありませんでした。