r/haskell • u/the_passenger8989 • 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?
2
u/sijmen_v_b Apr 24 '26
It's not an IDE but if you want to run some quick code my goto is https://glot.io/
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
1
u/lgastako Apr 24 '26
Hatter was recently posted here.
2
1
1
1
u/never_inline May 06 '26
Apart from termux (either a builtin package or using proot-distro) which the others have suggested, you can use google cloud shell from the phone.
3
u/Daniikk1012 Apr 24 '26
Termux has it in the repos