Skip to content

Commit

Permalink
Merge pull request #42 from moodmosaic/add-another-printing-sample-to…
Browse files Browse the repository at this point in the history
…-script

Add another printing sample to script
  • Loading branch information
jacobstanley authored Oct 31, 2016
2 parents e14f726 + b87cadf commit f894f09
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Jack/Script.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,12 @@ Gen.byte
|> Gen.tuple4
|> Gen.map (fun (ma, mi, bu, re) -> Version (ma, mi, bu, re))
|> Gen.printSample

//
// Printing Samples ― System.Net.IPAddress
//

Gen.printSample <| gen {
let! addr = Gen.byte |> Gen.array' 4 4
return System.Net.IPAddress addr
}

0 comments on commit f894f09

Please sign in to comment.