Skip to content

Type aware constants#182

Open
SBlokhuizen wants to merge 2 commits into
developfrom
feature/d-type-aware-constants
Open

Type aware constants#182
SBlokhuizen wants to merge 2 commits into
developfrom
feature/d-type-aware-constants

Conversation

@SBlokhuizen

@SBlokhuizen SBlokhuizen commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Constant tendencies can now be of different types, namely int, str, bool, and float. A waveform will automatically inherit the type of its tendencies, and mixing of tendency types in a single waveform is not allowed (except for ints and floats in which case the waveform will be considered of type float). When a waveform targets a DD path, its type will be validated against the DD type.

Example of a waveform containing strings:
image

@SBlokhuizen
SBlokhuizen marked this pull request as ready for review July 23, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant