elmental-0.1.0.1: test-output/extraction/golden/NatPhantomparameter_3.txt
DatatypeStructure
{ mapping =
ElmMapping
{ typeName = "LookMaNoPhantomParam"
, moduleName = Just "Codegen.SampleTypes"
, encoderLocation =
Just
SymbolLocation
{ symbolName = "encodeNatPhantomParameter"
, symbolModuleName = "Codegen.SampleTypes"
}
, decoderLocation =
Just
SymbolLocation
{ symbolName = "decodeNatPhantomParameter"
, symbolModuleName = "Codegen.SampleTypes"
}
, args = []
, isTypeAlias = False
, urlPiece = Nothing
, queryParam = Nothing
}
, nParams = 1
, constructors =
[ Constructor
{ constructorName = "NatPhantomParameter"
, constructorFields =
[ ( Nothing
, TyRef
{ tyCon =
TyMapping
ElmMapping
{ typeName = "List"
, moduleName = Nothing
, encoderLocation =
Just
SymbolLocation
{ symbolName = "list" , symbolModuleName = "Json.Encode" }
, decoderLocation =
Just
SymbolLocation
{ symbolName = "list" , symbolModuleName = "Json.Decode" }
, args = []
, isTypeAlias = False
, urlPiece = Nothing
, queryParam = Nothing
}
, tyArgs = [ TyRef { tyCon = TyVar "a0" , tyArgs = [] } ]
}
)
]
}
]
}