Haskell on Pebble smartwatch

Hi, while I’m waiting on my pebble, I’m contemplating to try writing something (watchface with extras) in Haskell (using microhs?) for it.

Does anyone have pointers to previous similar efforts? I’m not even sure how sensible or hard this would be, as a smartwatch is tightly constrained and most of the time it should be just waiting for external events.

Tldr: smartwatch Haskell - any pointers are welcome.

5 Likes

I know someone got microhs running on an RPi Pico. (There’s a GH issue with info.) So that’s probably possible. Or you can use copilot.

3 Likes

To be clear, that’s probably package copilot on Hackage, which compiles a Haskell DSL for reactive systems into memory-safe C, not MS’s flavour of AI offering.

8 Likes

How much memory does it have?

it’s the last device in this this list, so it should be 576KB SRAM (+ a few MB Flash storage?). At least according to the image in the linked docs: https://www.sifli.com/sites/default/files/inline-images/Snipaste_2025-09-29_14-43-10.png

You should be able to run simple things with MicroHs.

4 Likes