Sign inSign up

denibertovic/haskell

By denibertovic

•Updated almost 11 years ago

Image
0

704

denibertovic/haskell repository overview

⁠Haskell

Haskell logo

⁠Basic info about the image

Tags: latest

ghc version : 7.8.3

cabal-install version: 1.20.0.3, using version 1.20.0.0 of the Cabal library

⁠What is Haskell?

Haskell is an advanced purely-functional programming language. An open-source product of more than twenty years of cutting-edge research, it allows rapid development of robust, concise, correct software. With strong support for integration with other languages, built-in concurrency and parallelism, debuggers, profilers, rich libraries and an active community, Haskell makes it easier to produce flexible, maintainable, high-quality software.

⁠How to use

⁠First pull the image locally
docker pull denibertovic/haskell
⁠Run an interactive bash prompt
# this will run a bash prompt in the container
# where you can use cabal, ghci and so on
docker run -i -t denibertovic/haskell
⁠Mount your code directory in the container
# this allows you to compile the code in the container
# while still working on it on the host in your favorite editor
docker run -v /path/to/code/on/host:/code -i -t denibertovic/haskell
⁠Compile code
docker run -v /path/to/code/on/host:/code -i -t denibertovic/haskell ghc /code/Main.hs
⁠You can use cabal inside the container
docker run -v /path/to/code/on/host:/code -i -t denibertovic/haskell
root@b7f76916678b:/code# cabal update
root@b7f76916678b:/code# cabal sandbox init
root@b7f76916678b:/code# cabal build

Tag summary

Content type

Image

Digest

sha256:e5ffc45f1…

Size

724.5 MB

Last updated

almost 11 years ago

docker pull denibertovic/haskell