neva
neva copied to clipboard
Stdlib naming for stream convertors
We basically will have components that turn something that is not stream to a stream and vice versa. How should we name them?
Builtin Explicit (Option 1)
ListToStream - list -> stream
StreamToList - stream -> list
DictToStream - dict -> stream
StreamToDict - stream -> dict
PortToStream - port -> stream
PortToList - port -> list
Imported (Less) Explicit (Option 1)8
lists.Stream
streams.List
dicts.Stream
streams.Dict
ports.Stream
ports.List
Builtin Implicit
List - stream to list
Dict - stream to dict
Stream - port to stream
???
- port to list
- list to stream
- dict to stream