[Haskell-cafe] Haskell *interpreter* on iPad? (Scheme and Ocaml are there)

John Velman velman at cox.net
Sat Jun 18 21:03:25 CEST 2011

On Sat, Jun 18, 2011 at 10:44:01PM +0400, MigMit wrote:

Well, this is my point.  THERE ARE 3 SCHEME INTERPRETERS in the iPad app

They run on factory iPads, not jailbroken.

The GUI for the gambitREPL  (Read, Evaluate, Print, Loop) is just like a
console.   Input a scheme expression.  CR. Answer appears, new prompt.

In haskell we need to allow for some way to input layout.  I don't recall
how Hugs handles this, if at all.

There are probably 5 or 10 people out there who want to learn functional
programming, and they are studying Scheme on their iPads.  Or Ocaml.

I don't forsee doing production programming ON THE IPAD, but experimenting,
testing some functions, and, by the way, learning Haskell.

While I'm fantasizing, something like Hugs or ghci with SOE would really be

Sorry for shouting  :-)

John Velman

> Well, Haskell is fun, isn't it? And that's what iPhone is perfect for: fun.
> Back when I had iPod Touch 1G (jailbroken, of course), I used to run Hugs on it. Now I would love to see a Haskell interpreter in the App Store — which, by the way, is possible; as there are Scheme interpreters there, why not Haskell?
> Отправлено с iPhone
> Jun 18, 2011, в 22:27, Jack Henahan <jhenahan at uvm.edu> написал(а):
> > I suppose you could make a GUI, by why? Given that you'll have to be working on a jailbroken device, anyway, one could just as well use one of the numerous terminal emulators now floating around for jailbroken iOS. That said, the idea of people writing Haskell on phones and iPads and so on makes me just a little bit grinny.
> > 
> > On Jun 18, 2011, at 2:17 PM, Alexander Solla wrote:
> > 
> >> 
> >> 
> >> On Sat, Jun 18, 2011 at 10:46 AM, John Velman <velman at cox.net> wrote:
> >> To further emphasize, I'd like to type in (or paste in) Haskell code and
> >> have it executed on the iPad.  To reiterate:  Something like Hugs, or ghci
> >> on the iPad.
> >> 
> >> Since the iPhone OS is pretty much OS X for ARM, and GHC apparently now supports cross-compilation, you can compile GHC for iOS.  I guess you could cross compile Hugs with GCC.  Doing so probably isn't trivial, but it should be straightforward.
> >> 
> >> I bet you could even use Xcode to make a graphical user interface to GHCi.
> >> _______________________________________________
> >> Haskell-Cafe mailing list
> >> Haskell-Cafe at haskell.org
> >> http://www.haskell.org/mailman/listinfo/haskell-cafe
> > 
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list