F# equivalent to Eval

Posted by akaphenom on Stack Overflow See other posts from Stack Overflow or by akaphenom
Published on 2010-04-09T14:07:28Z Indexed on 2010/04/09 14:13 UTC
Read the original article Hit count: 431

Filed under:
|
|
|

Is there an F# equivalent to eval? My intent is to have my app load a small code sample from a file and essentially

let file = "c:\mysample"
let sample = loadFromFile file
let results = eval(sample)

I am new to F# and trying to figure out some of the limitations before I apply it to a project.

Thank you

© Stack Overflow or respective owner

Related posts about F#

Related posts about .NET