Using a signature file in a script

I like to use .fsi signature files for visibility control. However, if my solution has both Foo.fsi and Foo.fs , and #load "Foo.fs" in the script, it looks like the corresponding signature file is not used. If I do this:

 #load "Foo.fsi" #load "Foo.fs" 

... then the required visibility control will happen. Is this the recommended way to achieve this, or is there a better way to do this? In an ideal world, you would also like to automatically download a signature file.

+6
source share
1 answer

Not the final answer, but the best way.

From reading Expert F # 4.0 you can do

 #load "Foo.fsi" "Foo.fs" "Foo.fsx" 

All three loads are on the same line.

TL DR

A link to a book through WolrdCat is simply placed in a zip code and it will show you the locations near them where you can find the book.

+2
source

All Articles