influxdata / influxdata/docs-v2

update Types doc to clarify "sets" are supported

Open
#4,259 0 comments 0 reactions 1 assignee Claimed by @peterreg View on GitHub
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

After this paragraph >>

A type defines the set of values and operations on those values. Types are never explicitly declared as part of the syntax except as part of a [builtin statement](https://docs.influxdata.com/flux/v0.x/spec/system-built-ins/). Types are always inferred from the usage of the value. Type inference follows a Hindley-Milner style inference system.

add the following >>

Flux supports the following types (and insert links):

- Union types
- Basic types (null, boolean, numeric, time, duration, string, and bytes)
- Regular expression
- Composite types (types for "sets" of data, including array, record, and dictionary; function and generator)
- Polymorphism (parametric, record, ad hoc; type constraints to implement ad hoc polymorphism)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.