Last active
August 29, 2015 14:22
-
-
Save pocketberserker/dda47f5cabf1868050f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS> fsi .\function_arb.fsx | |
[|1947238346; 1876093363; -1146235286; -158522910; -1146235286|] | |
[|-158522910; 1947238346; -2113288697; 2088097146; -2113288697|] | |
[|2088097146; -158522910; -253957570; -1146235286; -253957570|] | |
[|-1146235286; 2088097146; 1156533104; -2113288697; 1156533104|] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 下のpathはいい感じに変える | |
#I "./" | |
#r "Persimmon.dll" | |
#r "Persimmon.Dried.dll" | |
open Persimmon.Dried | |
(Arb.array (Arb.func CoArbitrary.int Arb.int)).Gen | |
|> Gen.apply Gen.Parameters.Default | |
|> Array.map (fun f -> [|1 .. 5|] |> Array.map f) | |
|> Array.iter (printfn "%A") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/xuwei-k/45616dddc87131c22aa0