You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is it even possible to safely define a pmatch' for PDataRecord xs?
pmatch'::Terms (PBuiltinListPData) -> (PDataRecordxss->Termsb) ->Termsb
pmatch' l f = pelimList
(\x xs ->letdl::???
dl =PDCons (punsafeCoerce x) (punsafeCoerce xs)
in f dl -- type mismatch
)
(f PDNil) -- type mismatch
l
Currently it doesn't work because there is no catch-all
PlutusType (PDataRecord xs)
instanceThe text was updated successfully, but these errors were encountered: