Effect CommunityEC
Effect Community2y ago
4 replies
nemmind1

Consistency in Array/Chunk Functions: Handling Empty Inputs

Hi! Array and Chunk map functions are aware of is the input empty or not and produce output with the same type. Is there any reason the Array/Chunk getter functions cannot work the same way? They have separate functions for head and headNonEmpty.
Was this page helpful?