neva icon indicating copy to clipboard operation
neva copied to clipboard

Stdlib naming for stream convertors

Open emil14 opened this issue 4 months ago • 0 comments

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

emil14 avatar Apr 30 '24 20:04 emil14