Effect CommunityEC
Effect Community3y ago
23 replies
Scott Moore

Purpose of the public fields `i0`, `i1` and `i2` in the `Some` and `None` classes of `Option.ts`.

Weird question, I'm just curious and have been reading some the source code out of interest. Why do the Some and None class in data/src/internal/Option.ts both have the public fields i0, i1 and i2? It looks like i0 is used to store the value in Some, but what are the others for?
Was this page helpful?