iPhone, meet Haskell
41–50 of 53 posts
Re: iPhone, meet Haskell
#42Earlier quoted context omitted.
Howdy! I've been using https://github.com/jspahrsummers/ObjectiveHaskell/ as my bridge between the two worlds (with some modifications for iOS that I'll be posting soon). Haskell has a wonderful FFI that lets you easily call C/Objective-C from Haskell and vice versa. There's also Manuel Chakravarty's extremely exciting "Inline Objective-C" project (coming soon) that allows you to embed Objective-C code directly into…
Is it related to Fujimoto et al's space-time memory? There was also a project called Stampede that that used a similar name to mean something completely different. Or is it just a name?
Re: iPhone, meet Haskell
#43This is brilliant news! Would it be possible to drop a cross compiled Haskell library into a Xamarin project and call into it from the .Net (F#) world? That would be the killer feature for me! Also not much mention of android here - is it possible to target android with Haskell at the moment?
Joey Hess has been using it to build git-annex for Android. http://git-annex.branchable.com/install/Android/
And much of the work we did simply improved support for cross-compilation in general, so Android support should be better than ever! : )
Re: iPhone, meet Haskell
#44This is brilliant news! Would it be possible to drop a cross compiled Haskell library into a Xamarin project and call into it from the .Net (F#) world? That would be the killer feature for me! Also not much mention of android here - is it possible to target android with Haskell at the moment?
I believe this is the relevant project: https://github.com/neurocyte/ghc-android Joey Hess has been using it to build git-annex for Android. http://git-annex.branchable.com/install/Android/ And much of the work we did simply improved support for cross-compilation in general, so Android support should be better than ever! : )
Re: iPhone, meet Haskell
#45This is brilliant news! Would it be possible to drop a cross compiled Haskell library into a Xamarin project and call into it from the .Net (F#) world? That would be the killer feature for me! Also not much mention of android here - is it possible to target android with Haskell at the moment?
Re: iPhone, meet Haskell
#46Anybody here know, off the cuff, if the GHC packaged in Homebrew is compiled correctly to utilize the wrapper scripts out of the box, or if I'd need to build the cross-compiler myself as described in the linked documentation?
Nope. I also strongly recommend against using the normal "brew" formulas for haskell tools, its only by PROACTIVE efforts by mac using haskellers that the standard brew aren't a complete disaster (or at least, wont' be a disaster, soonish). I strongly recommend using standard haskell binary distributions, such as those prepared by GHC HQ, or the Haskell Platform folks, or perhaps any brew Tap that Darin Morrison or L…
And while the stability of GHC/Haskell Platform was indeed questionable during 2012.2.0.0 and the beginning of 2012.4.0.0, they cleaned it up as time went along and I haven't noticed any issues with it for the past 4 or 5 months. You make a comment below about Haskell Platform being associated with specific GHC releases, and AFAIK Homebrew actually freezes GHC at versions compatible with the current release of Haskell Platform now. The reason I prefer to use the package manager instead of the pre-distributed binaries is because it provides for a deterministic and (theoretically) testable/repeatable upgrade path.
Re: iPhone, meet Haskell
#47I would love to also run the interpreter inside iOS to learn Haskell from a tablet. I will support a crowdfunding campaign.
Re: iPhone, meet Haskell
#48Earlier quoted context omitted.
Nope. I also strongly recommend against using the normal "brew" formulas for haskell tools, its only by PROACTIVE efforts by mac using haskellers that the standard brew aren't a complete disaster (or at least, wont' be a disaster, soonish). I strongly recommend using standard haskell binary distributions, such as those prepared by GHC HQ, or the Haskell Platform folks, or perhaps any brew Tap that Darin Morrison or L…
Hmm. Well, looking at the Github repo activity, Darin is actively involved in the GHC formulae these days. In fact he's actively involved in getting Homebrew's GHC formula prepped for OS X Mavericks, which you note as an upcoming issue below. So that's encouraging. And while the stability of GHC/Haskell Platform was indeed questionable during 2012.2.0.0 and the beginning of 2012.4.0.0, they cleaned it up as time went…
Re: iPhone, meet Haskell
#49Re: iPhone, meet Haskell
#50I would love to also run the interpreter inside iOS to learn Haskell from a tablet. I will support a crowdfunding campaign.
Apple wouldn't permit this in the AppStore