7sharp9's blog
A cup of tea would restore my normality. - Douglas Adams
agents ast async concurrency csharp elixir elm fable fsharp functional-programming fuse games ios javascript mac mailboxprocessor metaprogramming microsoft mono monodevelop monogame monotouch myriad performance quotations running sockets threading tpl tpl-dataflow typeproviders videos xamarin youtube

© 2011 - 2020 7sharp9

Powered by Hugo with theme Dream.

MonoTouch and F# part II

MonoTouch and F# part II

Thursday, Feb 7, 2013

@ 7sharp9

In the last post we left at the point where everything was running fine and dandy on the Simulator. So what happens if we compile for the real hardware? Lets change the active configuration to Debug|iPhone and hit build, what do we get?Boom! Error MT2002: Could not resolve: FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (MT2002) (singleview) So I guess we need to tell it where the FSharp.Core.dll is, lets add a reference to it:
MonoTouch and F# part I

MonoTouch and F# part I

Sunday, Feb 3, 2013

@ 7sharp9

MonoTouch and F# that would be a cool duo right? Well let me explain what needs to be done and why to get this pair working together. I heard rumours a while ago that F# and MonoTouch would not play together nicely because of limitations in the ahead of time compilation (AOT). So I thought I would either prove or disprove this with some concentrated hacking. How hard can it be?

About Me

Hi, my name is Dave Thomas and Im a software engineer from the Uk. I work primarily in F# but also like to tinker with pretty much any interesting language. Im drawn to more functional languages like F#, Swift and Rust.

Have questions or suggestions? Feel free to ask me on Twitter.

Thanks for reading!

Dave Thomas