Questions tagged [haskell]

a standardized, general-purpose, purely functional programming language with non-strict semantics and strong static typing.

Filter by
Sorted by
Tagged with
0
votes
0answers
185 views

bcm2835 library default SPI clock divider / Bosch BMP280 / Haskell HPi

I'm currently trying to access a Bosch BMP280 pressure sensor from Haskell using the HPi wrapper for the bcm2835 library. I have no experience in handling SPI at all and as documentation is extremely ...
0
votes
1answer
542 views

Is it possible to use Haskell on Arch Linux ARM?

There isn't a ghc package for armv6, which is what the pi uses. It does not need to be able to compile on the pi, just run on it.
5
votes
4answers
2k views

Raspberry pi control GPIO with Haskell

I'm working on an home automation system with the raspberry pi. Currently I use python or C to control the GPIO and haskell/yesod for controlling everything from pc/ipad/phone... But I would like to ...
1
vote
2answers
933 views

How do I compile GHC if it depends on itself?

I am using Arch Linux Arm hard float and there isn't any binary packages for GHC available for armv6. How would you cross compile GHC for the Raspberry Pi so that I can compile Haskell code? Is the ....
4
votes
1answer
485 views

How do I compile cabal?

I am using Arch Linux ARM with ghc 6.12.3-1 and gcc 4.7.1-5. When I try to compile cabal[TAR] using: sh bootstrap.sh Error Checking installed packages for ghc-6.12.3... Cabal-1.14.0 will be ...