Created
September 28, 2017 23:16
-
-
Save dustinfarris/bc9c3dea64fcca7ec64a1b84a240c084 to your computer and use it in GitHub Desktop.
Revisions
-
dustinfarris revised this gist
Sep 28, 2017 . No changes.There are no files selected for viewing
-
dustinfarris created this gist
Sep 28, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ import Fuzz exposing (Fuzzer) import Json.Encode as Json jsonInt : Fuzzer ( Int, Json.Value ) jsonInt = Fuzz.map (\i -> ( i, Json.int i )) Fuzz.int jsonString : Fuzzer ( String, Json.Value ) jsonString = Fuzz.map (\s -> ( s, Json.string s )) Fuzz.string