Effect CommunityEC
Effect Community2y ago
35 replies
vinassefranche

ReadonlyArray.partition returning non readonly arrays

Hi! ReadonlyArray.partition returns 2 arrays that are not readonly, even when applied to a readonly array. I would expect them to be readonly, given the name of the module, or, even better, that the readonly or not would be inferred from the array argument. WDYT?
Was this page helpful?