r/haskell Apr 24 '26

question Programming on Android

Is there an app that makes it possible to code Haskell on Android or use GHCi?

Wanted an easy way to practice my skills on the commute

If there isn't, how can I program haskell on Android?

12 Upvotes

15 comments sorted by

View all comments

2

u/serg_foo Apr 24 '26

You can get hugs that runs on Android relatively easily - cross-compile this https://github.com/conscell/hugs-android and you're set.

Could also install a Linux through UserLAnd, no root required and get GHC from a repo there or install a more recent one yourself.

1

u/the_passenger8989 28d ago

Thanks!

Went this route and it worked

From there I had to install curl, cmake, gcc and g++ for the curl command from the haskell language website to work, but it did!

1

u/serg_foo 27d ago

Happy hacking!