F# doesn't have this built-in, but Microsoft released a sample called "Dynamic LINQ". This allows taking strings and parsing them into typed LINQ Expression Trees. From there, you can just compile them into delegates.

By on 7/15/2009 12:07 PM ()

If extra overhead isn't much of an issue, you could have the function compiled into a module and then load that module. Not exactly elegant, but I think it should work.

By on 7/15/2009 1:11 PM ()

Thanks to both of you for your help. I will try these suggestions out over the next few weeks.

Best wishes

Chris

By on 7/18/2009 10:36 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper