github.com/nevalang/neva@v0.23.1-0.20240507185603-7696a9bb8dda/std/builtin/types.neva (about)

     1  type {
     2      pub any
     3      pub bool
     4      pub int
     5      pub float
     6      pub string
     7      pub map<T> // TODO rename to dict
     8      pub list<T>
     9      pub maybe<T>
    10  
    11      pub error struct {
    12          text string
    13          child maybe<error>
    14      }
    15  
    16      pub stream<T> struct {
    17          data T
    18          idx int
    19          last bool
    20      }
    21  }