D
cabal install -z --lib --package-env=$HOME/.xmonad/ xmonad xmonad-contrib
вот так нужно ставить зависимостиghc
мне говорил, что Graphics это часть hidden packageоказалось, что Х11 надо было просто добавить в предложенную команду
Size: a a a
D
cabal install -z --lib --package-env=$HOME/.xmonad/ xmonad xmonad-contrib
вот так нужно ставить зависимостиghc
мне говорил, что Graphics это часть hidden packageАВ
AP
AP
АВ
R
AP
AP
AP
AP
VS
jsaddle-dom > [ 2 of 599] Compiling JSDOM.Types
jsaddle-dom > jsaddle-dom has been building for 1 min (some modules are very large).
jsaddle-dom > jsaddle-dom has been building for 2 min (some modules are very large).
stack
падает с ошибкой?Process exited with code: ExitFailure (-9) (THIS MAY INDICATE OUT OF MEMORY)
VS
VS
AK
import Data.Map.Strict (Map, fromAscList)
parseWords :: [String] -> (String, String)
parseWords (k:_:v:_) = (k, filter (/='/') v)
read :: Handle -> IO (Map String String)
read handle = do
contents <- hGetContents handle
return $ fromAscList $ parseWords . words <$> lines contents
main = do
t_handle <- openFile "file.txt" ReadMode
t_res <- T.read t_handle
putStrLn $ t_res ! "test"
hClose t_handle
time stack exec test-exe
:real 0m3,906s
user 0m5,204s
sys 0m2,829s
ВЩ
import Data.Map.Strict (Map, fromAscList)
parseWords :: [String] -> (String, String)
parseWords (k:_:v:_) = (k, filter (/='/') v)
read :: Handle -> IO (Map String String)
read handle = do
contents <- hGetContents handle
return $ fromAscList $ parseWords . words <$> lines contents
main = do
t_handle <- openFile "file.txt" ReadMode
t_res <- T.read t_handle
putStrLn $ t_res ! "test"
hClose t_handle
time stack exec test-exe
:real 0m3,906s
user 0m5,204s
sys 0m2,829s
AK
ВЩ
AK