[Haskell-iPhone] Objective C bindings?

Luke Iannini lukexipd at gmail.com
Thu Apr 24 06:25:43 UTC 2014


Yo Jake,
Yeah, what Max said. Sigh, I've done this (updated OH to use Max's static
lib support, fixed a bunch of bugs, and other things) an have been
promising to clean it up enough to release for quite some time. The yucky
bit is that I manually converted it to strip out the Template Haskell usage
which both makes it much uglier and not nearly as nice to use. But it
works, and that's something : ), so I'll get going.

I think we could design something even nicer with Type Families sometime
that didn't require TH.

Cheers
Luke


On Wed, Apr 23, 2014 at 9:27 PM, Maxwell Swadling <maxwellswadling at gmail.com
> wrote:

> Hello!
>
> I think ObjectiveHaskell is a more practical choice today than HOC.
>
> ObjectiveHaskell could be cleaned up to use the new GHC 7.8 features,
> which will simplify the build process.
>
> https://github.com/jspahrsummers/ObjectiveHaskell/tree/reboot
>
> Try it out.
>
> __END__
> Maxwell Swadling
>
> > On 23 Apr 2014, at 11:25 am, Jake Brownson <jbrownson at gmail.com> wrote:
> >
> > https://code.google.com/p/hoc/
> >
> > Is anybody aware of any efforts to revive the HOC project that
> > provides Objective-C bindings for Haskell? Or any alternatives to it?
> > It seems like it would be a great complement to the iOS cross
> > compiler. I've started reading through the code to see what it might
> > take to get them working w/ recent GHCs. the last commit on the google
> > code project was 2010.
> >
> > When I do the "runhaskell Setup.hs build" from the installation
> > instructions I get a few things like this:
> >
> > "Unacceptable argument type in foreign declaration: CInt"
> >
> > which seems to be explained by this as due to a change in FFI at some
> > point:
> http://haskell.1045720.n5.nabble.com/zlib-build-failure-on-recent-GHC-td4971516.html
> >
> > I'm just starting to dig into this so maybe there's a good reason
> > nobody else has. I'm pretty new to Haskell, but I love the idea of
> > making native GUIs for OS X and eventually iOS.
> > _______________________________________________
> > iPhone mailing list
> > iPhone at haskell.org
> > http://www.haskell.org/mailman/listinfo/iphone
> _______________________________________________
> iPhone mailing list
> iPhone at haskell.org
> http://www.haskell.org/mailman/listinfo/iphone
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/iphone/attachments/20140423/6983429c/attachment.html>


More information about the iPhone mailing list