erson {
    firstname: <span class="k">string</span>;
    lastname: <span class="k">string</span>;
}

<span class="k">function</span> greeter(person : Person) {
    <span class="k">return</span> <span class="s">"Hello, "</span> + person.firstname + <span class="s">" "</span> + person.lastname;
}

<span class="k">var</span> user = {firstname: <span class="s">"Jane"</span>, lastname: <span class="s">"User"</span>};

document.body.innerHTML = greeter(user);</pre>

<p>Now create a build.fsx and run it via FAKE.