0 people like it.

file1.fsx

Test

1: 
2: 
3: 
4: 
5: 
let add a b = a + b
let mul a b = a * b
let swap a b = b a

add 2 5
val add : a:int -> b:int -> int

Full name: Script.add
val a : int
val b : int
val mul : a:int -> b:int -> int

Full name: Script.mul
val swap : a:'a -> b:('a -> 'b) -> 'b

Full name: Script.swap
val a : 'a
val b : ('a -> 'b)
Raw view New version

More information

Link:http://fssnip.net/kg
Posted:4 years ago
Author:egerland
Tags: tryfsharp