{"id":7943,"date":"2015-11-12T03:04:34","date_gmt":"2015-11-12T03:04:34","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/12\/nfjinjing-haskell-cocoa-currency-converter-example\/"},"modified":"2015-11-12T03:04:34","modified_gmt":"2015-11-12T03:04:34","slug":"nfjinjing-haskell-cocoa-currency-converter-example","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/12\/nfjinjing-haskell-cocoa-currency-converter-example\/","title":{"rendered":"nfjinjing\/haskell-cocoa-currency-converter-example"},"content":{"rendered":"<p>OK, this method works. The steps performed by XCode after you hit <code>Build<\/code>:<\/p>\n<ul>\n<li>A normal xcode build is performed<\/li>\n<li>Run a custom python script that\n<ul>\n<li>delete the \u201cmain.o\u201d object file<\/li>\n<li>compile <code>Main.hs<\/code> with the rest of object files from XCode environment<\/li>\n<li>replace the XCode generated binary with <code>GHC<\/code>&#8216;s output<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Reference:<\/p>\n<h2>Install<\/h2>\n<pre><code>git clone $this\n\ncabal install nemesis\n\npushd .\n\ncd vendor\/libffi\ncabal install\n\npopd\n\nnemesis i\n<\/code><\/pre>\n<p>If everything loads, you could try the XCode project in <code>xcodeproj<\/code><\/p>\n<h2>License:<\/h2>\n<p>BSD3<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK, this method works. The steps performed by XCode after you hit Build: A normal xcode build is performed Run a custom python script that delete the \u201cmain.o\u201d object file compile Main.hs with the rest of object files from XCode environment replace the XCode generated binary with GHC&#8216;s output Reference: Install git clone $this cabal [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7943","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7943"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7943\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}