Skip to content

Undocumented language features #34

@ronquist

Description

@ronquist

The language overview page is pretty complete but lacks documentation of the following features that we are already now using in model scripts that we refer to from the release note. So I think they should be added.

Functions for handling sequences

concat: concatenation of arbitrary types? assuming same type?
cons=seqCons: pushes element at head, needs documentation, should be cons if you ask me...
snoc=seqSnoc: pushes element at tail, needs documentation, should be snoc if you ask me...

Linear algebra

Special operators for linear algebra should be documented (*@, *& etc)

For discussion/feature requests

What is the difference between Real[][] and Matrix[Real]? Should we not describe that?
Can we please have ncol and nrow functions for Matrix types?
And convenient slicing to get rows or columns from Matrix or sequences of sequences?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions