📜 ⬆️ ⬇️

iPhone, meet Haskell

Yes, all right - now under iOS, you can write in Haskell! Here is the message of one of the creators of this miracle ( original ):
Hello to all!
Stephen Blackheath and I are incredibly happy to announce that at this point in GHC it is possible to compile into native code supported by iOS devices, as well as an iOS simulator. You will find everything you need here: ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS
In short, you can use the “ghc-ios myFiles.hs” to get universal ARMv7 / ARMv7s / i386 libraries and connect them to the project in Xcode.
Now Stephen is working on wonderful FRP-powered games, I’m working on the SpaceTime project that I’m about to announce soon, and you all just have to run to the computer and start writing under iOS in the best language in the world :)

For reference: "GHC (Glasgow Haskell Compiler) is one of the most powerful and advanced compilers of the Haskell functional programming language, which is developed by a free working group of numerous developers gathered around the world and coordinated from the Glasgow University laboratory."

')

Source: https://habr.com/ru/post/192048/


All Articles