Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Series #15

Open
kevlarr opened this issue Nov 30, 2021 · 0 comments
Open

Series #15

kevlarr opened this issue Nov 30, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@kevlarr
Copy link
Collaborator

kevlarr commented Nov 30, 2021

It can be useful to generate series of records. These series should also be anonymous or named, and they should also be able to be composed from other records or templates like singular records can.

public
  pet
    $cat
      species 'cat'

    -- An anonymous series
    *5n
      -- Some form of interpolation should be possible
      name 'Pet ${n}'

    -- A named series with composition
    *10x cats: $cat
      name 'Cat ${x}'

    yet_another_cat
      [name] #cats{0}

Considerations:

@kevlarr kevlarr added the enhancement New feature or request label Nov 30, 2021
@kevlarr kevlarr added this to the Language features milestone Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant