Skip to content

Instantly share code, notes, and snippets.



Created Jul 28, 2013
What would you like to do?
Powershell script in simpleExample.ps1 generated by FsToPs
Add-Type -Path <myPath>\FSharp.Compiler.CodeDom.dll
$provider = New-Object Microsoft.FSharp.Compiler.CodeDom.FSharpCodeProvider
$fsharpCode = @"
module dafuq
let x= 5
$fsharpType = Add-Type -TypeDefinition $fsharpCode -CodeDomProvider $provider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.