12

I want to start iOS development and I' m very interested in the ways of using Haskell language as opposed to the Objective-C/C++ in the iOS environment. Let's suppose that we have some Haskell code which uses different Haskell libraries and we want to reuse it in iOS project (not for production).

So the question: are there some ready for use solutions for this purpose (libraries, bridges, frameworks, etc.)?

Oleksandr Karaberov
  • 12,573
  • 10
  • 43
  • 70
  • 3
    You probably already came across this but in case you didn't: http://www.haskell.org/haskellwiki/IPhone – Peter Hall Oct 20 '12 at 14:10
  • 3
    Key point from there: `3 GHC as a cross compiler: ... Haskell code should be compiled into static library. Because custom dynamically linked libraries are not allowed in regular iOS (not jail-breaken).` – Peter Hall Oct 20 '12 at 14:12
  • 3
    Also see http://stackoverflow.com/a/4722685/493729 – Peter Hall Oct 20 '12 at 14:36
  • 1
    have you seen https://github.com/ghc-ios and https://github.com/jfischoff/ghc-ios-simple-setup – Jonathan Fischoff Oct 24 '12 at 03:33
  • 2
    If this is a question about exporting an application and its patterns from one language to another, it might be worth asking over at [Programmers](http://programmers.stackexchange.com) – Swizzlr Dec 31 '12 at 13:32

1 Answers1

6

In the past I used HOC to generate Haskell bindings to Objective C APIs.

alpheccar
  • 226
  • 3
  • 7