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
// currently have to deal withexportfunctionglueAllHomoDiffs<a>(diffs: edf.HomoDifference<NativeSet<a>>[]): edf.HomoDifference<NativeSet<a>>{returnea.fold(diffs,edf.toHomoNoneOf<NativeSet<a>>(),(result,diff)=>edf.glueHomoDifference(result,diff,glue,shallowCopy));}// wish could doexportfunctionglueAllHomoDiffs<a>(diffs: Difference[]): Difference{typeSelection=NativeSet<a>;typeDifference=edf.HomoDifference<Selection>;returnea.fold(diffs,edf.toHomoNoneOf<Selection>(),(result,diff)=>edf.glueHomoDifference(result,diff,glue,shallowCopy));}
The text was updated successfully, but these errors were encountered:
Same as my response to #7061 (#7061 (comment)). This should be easily defined using a type alias declaration outside the function, and not worth changing the scopign rules e.g.:
consider
The text was updated successfully, but these errors were encountered: