-
Notifications
You must be signed in to change notification settings - Fork 2
Fix sets #1
Copy link
Copy link
Open
Description
-- [decgen-start]
type alias A = Set.Set Int
type alias Rec = {set : Set.Set Int}
-- [decgen-generated-start] -- DO NOT MODIFY or remove this line
decodeA =
Decode.map Set.Set Decode.int
decodeRec =
Decode.map
Rec
( Decode.field "set" decodeSet.SetInt )
encodeA (Set.Set a1) =
Encode.int a1
encodeRec a =
Encode.object
[ ("set", encodeSet.SetInt a.set)
]
-- [decgen-end]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels