Меню Рубрики

Haskell ide для windows

Есть ли IDE для Haskell?

Место ФП и Haskell в компьютерной индустрии (Для чего он нужен, этот Haskell?)
«У нас» ? А где преподавание этой экзотики на высоте? Добавлено через 2 минуты А где такие.

Haskell — автокомплит в Visual Studio с расширениями. кажется нашёл лучшую ide
Дополнения: Haskell ghc-mod Haskell Syntax Highligthting и для себя установил Icehunter’s.

Установил stack. Теперь нужен хороший редактор haskell или ide под linux (debian)
Что будет лучше с учётом использования только stack? Windows в прошлом для меня.

Дартс в haskell? Какой ужас.понятия не имею, как и с чем это есть
А как делать это. =-O Дартс поделен на 20 секций. За каждый бросок начисляется такое.

Такой как IntelliJ IDEA или Visual Studio нет, хотя попытки были. Например, Leksah. Что-то есть по-проще специально для macOS.

Но как я понял, народ в большинстве случаев обходится более простыми редакторами типа Emacs/Aquamacs и Atom/Visual Studio Code, а также Vim. Для них есть соответствующие дополнения.

Мне пока хватает Aquamacs, чтобы держать под полным контролем 3 мегабайта исходного кода на Haskell.

По моему опыту IDE обычно нужны, когда начинается поддержка жуткого легаси в кровавом энтерпрайзе, когда на проекте уже сменилось две-три команды, и новой просто спросить уже некого, а это, наверное, не так и часто встречается на Haskell.

Есть редактор написанный на Haskell — Yi, но я его слишком давно смотрел, чтобы что-то по нему сказать.
То есть отсюда мы можем сделать вывод, что текстовый редактор должен обладать определённым свойством:
vim-подобным управлением.
И действительно есть библиотека, которая позволяет реализовать такое управление на Haskell:
haskeline
Кроме того у библиотеки есть и другие широкие возможности для реализации управления в командной строке.
(Что-то я не разобрался как в ней сделать обработку не символьных клавиш, при отключенном буфере ввода. )

Источник

Downloads

There are three widely used ways to install the Haskell toolchain on supported platforms. These are:

Minimal installers: Just GHC (the compiler), and build tools (primarily Cabal and Stack) are installed globally on your system, using your system’s package manager.

Stack: Installs the stack command globally: a project-centric build tool to automatically download and manage Haskell dependencies on a project-by-project basis.

Haskell Platform: Installs GHC, Cabal, and some other tools, along with a starter set of libraries in a global location on your system.

These options make different choices as to what is installed globally on your system and what is maintained in project-specific environments. Global installations allow more sharing across users and projects, but at the cost of potential conflicts between projects. To avoid these conflicts, each option has a lightweight sandboxing feature that creates largely self-contained, per-project environments. With Minimal you can optionally sandbox the libraries, avoiding most conflicts. Stack sandboxes the compiler, tools and libraries, so avoids nearly all kinds of conflicts between projects. With Platform you can also optionally sandbox libraries, but not the globally installed platform libraries.

Haskell IDEs & other distributions

In addition to the generic, cross-platform Haskell toolchain described above, there are also easy-to-use, platform-specific distributions and IDEs. The Haskell Wiki contains a list of the most popular ones.

Minimal installers

What they are

Minimal installers provide centrally the GHC compiler and the Cabal and Stack tools for installing packages. Some may install further build tools (i.e.В for parsing and lexing) as well.

What you get

  • Only the core libraries necessary for each platform are included.
  • Cabal or Stack must be used to download and install packages after installation.

How to get them

Where to get help

  • For help learning Haskell itself, start with the Documentation page on the Haskell Wiki.
  • If you need help with GHC—the Haskell compiler—there is a comprehensive GHC User Manual.
  • For help using Cabal to download or create additional packages (see below), there is the Cabal User Guide.
  • For help using Stack to download or create packages, see the stack documentation below.
  • Finally, you can ask questions of other Haskell users and experts on the #haskell IRC channel on the Freenode IRC network.

Stack

What it is

Stack is a cross-platform build tool for Haskell that handles management of the toolchain (including the GHC compiler and MSYS2 on Windows), building and registering libraries, and more.

What you get

  • Once downloaded, it has the capacity to download and install GHC and other core tools.
  • Project development is isolated within sandboxes, including automatic download of the right version of GHC for a given project.
  • It manages all Haskell-related dependencies, ensuring reproducible builds.
  • It fetches from a curated repository of over a thousand packages by default, known to be mutually compatible.
  • It can optionally use Docker to produce standalone deployments.

How to get it

The install and upgrade page describes how to download Stack on various platforms, although the main three are repeated here:

Instructions for other Linux distributions, including Debian, Fedora, Red Hat, Nix OS, and Arch Linux, are also available.

Where to get help

For help with Haskell and GHC in general, see the links mentioned above. For Stack itself there are also the following resources:

  • The README offers a general overview, and help with installation.
  • There is an in-depth guide to using Stack.
  • Getting started with Stack introduces how to build new projects using Stack.
  • You may post issues and feature requests on its GitHub issue tracker.
  • There is a mailing list for Stack
  • There is a dedicated #haskell-stack IRC channel on the Freenode IRC network.
  • The StackOverflow haskell-stack tag has many stack-specific questions and answers.

Haskell Platform

What it is

The Haskell Platform is a self-contained, all-in-one installer. After download, you will have everything necessary to build Haskell programs against a core set of useful libraries. It comes in both core versions with tools but no libraries outside of GHC core, or full versions, which include a broader set of globally installed libraries.

What you get

  • The Glasgow Haskell Compiler
  • The Cabal build system, which can install new packages, and by default fetches from Hackage, the central Haskell package repository.
  • the Stack tool for developing projects
  • Support for profiling and code coverage analysis
  • 35 core & widely-used packages

How to get it

The Platform is provided as a single installer, and can be downloaded at the links below.

Where to get help

  • You can find a comprehensive list of what the Platform offers.
  • See the general help mentioned above, which covers the usage of GHC, as well as the Cabal and Stack tools.

Additional Libraries

In Haskell, packages are configured and built with the Cabal package system built into GHC (and other compilers). For more specific details, see The Cabal User Guide. The command line tools to download and install packages are either cabal or stack , each having different workflows. For details on their usage, see the documentation above.

Hackage

Hackage is a repository of packages to which anyone can freely upload at any time. The packages are available immediately and documentation will be generated and hosted there. It can be used by cabal install.

You can install a package using cabal by running:

Note that if you are not in a sandbox, this will install the package globally, which is often not what you want, so it is recommended to set up sandboxes in your project directory by running cabal sandbox init .

LTS Haskell

LTS Haskell is a stackage-based long-term support set of packages which build and pass tests together, with backported bug fixes.

Stackage Nightly

Stackage is a nightly generated stable repository of snapshots of package sets in which only packages which build and pass tests together are bundled together into a snapshot.

From source control repositories

Installing from a source repository is also possible. For example, to clone and install the network package from source, you would run:

Источник

Haskell ide для windows

designed to get you up and running quickly, making it easy to focus on using Haskell. You get:

  • the Glasgow Haskell Compiler
  • the Cabal build system
  • the Stack tool for developing projects
  • support for profiling and code coverage analysis
  • 35 core & widely-used packages

Let’s get started

Note: Users who wish to make use of stack and want to ensure they are running the latest version may want to consider running «stack upgrade» and ensuring the proper path for stack-installed binaries is in their environment.

Other Operating Systems

Mac OS X

The recommended way to install the components of the mac platform is using ghcup to install ghc and cabal-install, and following the instructions at haskellstack.org to install stack.

Windows

The recommended way to install the components of the windows platform is using Chocolatey to install ghc and cabal-install, and following the instructions at haskellstack.org to install stack. Further details for Chocolatey usage are available here.

To get started perform these steps:

Linux

Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

If you can’t find your distribution then select Generic.

Select your distribution

Please select your distribution on the right.

Generic Linux

This is a generic distribution of the Haskell Platform. While it should work on most modern Linux distributions, you may want to investigate use one of the distribution-specific options listed on the right. As GHC links against libgmp, you may need to install «libgmp-dev» using your package manager of choice.

The recommended way to install the components of the generic platform is using ghcup to install ghc and cabal-install, and following the instructions at haskellstack.org to install stack.

Ubuntu

Haskell Platform is available in your distribution’s package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

Debian

Haskell Platform is already available in your distribution’s package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

Linux Mint

Haskell Platform is already available in your distribution’s package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

Redhat

Haskell Platform is already available in your distribution’s package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

Fedora

Haskell Platform is already available in your distribution’s package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

Gentoo

Haskell Platform is already available in your distribution’s package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

While there is a haskell-platform ebuild included in the main Portage tree, it is recommended that one uses the more up-to-date gentoo-haskell overlay. This can be done using layman ,

More details can be found in the Wiki.

Build from source

If we don’t have a binary package suitable for your distribution you can build the Haskell Platform from source.

Download and extract the source tarball,

See the README file for build instructions.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Hashcat как пользоваться windows
  • Hashcat запуск под windows
  • Harmony 7 blue для windows 7
  • Hardware monitor driver msi windows 10
  • Hardware and sound windows 7