Haskell - Cabal basic introduction - creating a project with external libraries

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 7

  • @tiagogoll4142
    @tiagogoll4142 4 года назад +2

    Thanks for this tutorial.
    Can you do one about integrating Haskell, Cabal and Sublime Text? That way we can create projects and compile them internally just by using "Ctrl+B", instead of going back to the terminal just so we can run the code we just edited.

  • @dtjipsimfans69
    @dtjipsimfans69 3 года назад +2

    Hi, I tried typing in the command 'cabal build myproj' on Powershell on my Windows 10 PC. However, an error starting with "cabal.exe: Could not resolve dependencies:" appears after I tried to execute that command. This means I cannot install or use external libraries. I also discovered that when I installed Haskell platform from scratch, the PATH environment variable "C:/users/username/appdata/roaming/cabal/bin" is added but the folder 'bin' is not added to the folder "C:/users/username/appdata/roaming/cabal". Can you please help me?

    • @cerinebouber2161
      @cerinebouber2161 3 года назад

      same problem here!
      How did you resolve this problem eventually?

    • @dtjipsimfans69
      @dtjipsimfans69 3 года назад

      @@cerinebouber2161 need to downgrade cabal and ghc version to not have dependency conflicts with the program to be built/installed.

  • @mlady.y
    @mlady.y 4 года назад

    You helped me a lot , thanks