Safe-DS / DSL

Statically checked Data Science programs.
https://dsl.safeds.com
MIT License
11 stars 0 forks source link

Examples in documentation for standard library #1027

Open lars-reimann opened 2 months ago

lars-reimann commented 2 months ago
  1. Translate the Python examples of the library into Safe-DS and include them after an @examples tag in the documentation comments.
  2. Update the markdown generator to include the examples (wrapped in a code block).
  3. Add tests to ensure that the examples contain neither errors nor warnings.

TODO:

Add examples for

lars-reimann commented 2 months ago

This is also particularly helpful for lang classes like List or Map, which can only be created by literals.