Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Mobile Haskell (iOS)

Toy project for testing out Haskell on iOS. For more information on how this works and what the different parts are, please check out my post on Mobile Haskell (iOS) at my blog.

While you should probably read the blog post, for the impatient and brave, simply,

  1. clone down the MobileHaskellFun repository,
  2. run ./ to set up the tools,
  3. cd into hs-src/
  4. build the package index ./call x86_64-apple-ios-cabal new-update --allow-newer,
  5. run ./call make iOS to compile the program for iOS,
  6. and finally launch Xcode and start the simulator.

You should get a screen like below,

Running the program in the iOS simulator