Understanding the Implementation of `gen` in Functional Programming - Effect Community