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
My approach was to just take one item off the start of the list, and one item off the end of the list - derive the input arguments and output return types from the two lists, and then see if they're the same.
If we can compute a set of InputTypes and OutputTypes and just check if those match, why do we need the whole recursive thing?
For better error reporting maybe? I guess with my approach, the entire array will be faulted - whereas with your approach, the error will point to the individual argument at fault?
The text was updated successfully, but these errors were encountered:
I saw your post about type-checking a
pipe
function here and posted a reply:If we can compute a set of
InputTypes
andOutputTypes
and just check if those match, why do we need the whole recursive thing?For better error reporting maybe? I guess with my approach, the entire array will be faulted - whereas with your approach, the error will point to the individual argument at fault?
The text was updated successfully, but these errors were encountered: