169 похожих чатов

Could not load module ‘Data.HashMap.Strict’ It is

a member of the hidden package ‘unordered-containers-0.2.16.0’.
Perhaps you need to add ‘unordered-containers’ to the build-depends in your .cabal file.
It is a member of the hidden package ‘unordered-containers-0.2.15.0’.
Perhaps you need to add ‘unordered-containers’ to the build-depends in your .cabal file.
It is a member of the hidden package ‘unordered-containers-0.2.14.0’.
Perhaps you need to add ‘unordered-containers’ to the build-depends in your .cabal file.
It is a member of the hidden package ‘unordered-containers-0.2.14.0’.
Perhaps you need to add ‘unordered-containers’ to the build-depends in your .cabal file.
It is a member of the hidden package ‘unordered-containers-0.2.13.0’.
Perhaps you need to add ‘unordered-containers’ to the build-depends in your .cabal file.

а это нормально, что кабал много версий одного пакета передаёт в ghc?

5 ответов

8 просмотров

а какая версия у cabal?

Cheese Syrowiecki
3.6.2.0

А, оказывается, это не cabal, а непосредственно ghc (281 строка)

Cheese-Syrowiecki Автор вопроса
ㅤ Атеист
А, оказывается, это не cabal, а непосредственно gh...

выводит-то ghc, но cabal-install формирует ему package-db

Cheese Syrowiecki
выводит-то ghc, но cabal-install формирует ему pac...

Получилось повторить! $ cabal install unordered-containers-0.2.16.0 $ cabal install unordered-containers-0.2.15.0 $ cd /tmp && mkdir t && cd t $ cabal init -n $ (добавляем в app/Main.hs: Import Data.HashMap.Strict) $ cabal run app/Main.hs:3:1: error: Could not load module ‘Data.HashMap.Strict’ It is a member of the hidden package ‘unordered-containers-0.2.16.0’. Perhaps you need to add ‘unordered-containers’ to the build-depends in your .cabal file. It is a member of the hidden package ‘unordered-containers-0.2.15.0’. Perhaps you need to add ‘unordered-containers’ to the build-depends in your .cabal file. Use -v (or `:set -v` in ghci) to see a list of the files searched for.

Похожие вопросы

Обсуждают сегодня

А еще в перле можно уже @arr1 + @arr2?
Sergei Zhmylove
53
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
Привет всем. появился вопрос. Разрабатываю сайт, в данный момент он запущен. Хостинг beget. Добавляю на сайт яндекс метрику с помощью полей client-settings (взято отсюда http...
Andrew
2
Подскажите, где смотреть результат выполнения программы? Код: ;.686 ;Система команд процессора 686 ;.MODEL FLAT,stdcall ;Модель памяти плоская, станда...
Егор Анелькин
5
Где в Астане можно купить мясо для шашлыков?
Dancing Іңұқәһүғө
21
Добрый день подскажите пожалуйста может кто то сталкивался с ошибками Sentry 22.10.0 развернутым из helm чарт в Kubernetes? Изначально 3 дня назад очень стало много событий ух...
Tire4 Finist Devops
1
;.686 ;Система команд процессора 686 ;.MODEL FLAT,stdcall ;Модель памяти плоская, стандартный ;вызов процедуры ;option casemap:no...
Егор Анелькин
1
почому оно не работает?
Vi Chapmann Chapmann
19
всем привет почти закончил курс После него можно писать свою операционку? Какие библиотеки надо использовать и куда дальше копать для изучения
Linus
19
Так а кто может спарсить всех участников чата? Идишники
Magic
18
Карта сайта