aiken/crates/project/src
KtorZ 202678e21e
Improve rendering of type-signatures in docs
- [x] Display function arguments using a newline-multiline strategy
    when the signature gets too long. For example:

    ```
    union_with
      ( left left: AssocList<key, value>
      , right right: AssocList<key, value>
      , with with: fn(key, value, value) -> value
      ) -> AssocList<key, value>
    ```

  - [x] Show type-aliases as type-aliases in signatures; provided
    they've been specified as type annotations. Otherwise, fallback to
    the inferred type.

  - [x] Do not show argument names in signatures, but show labels when
    they're present. This reflects more the original intent behind
    labels (which are meant as public-facing documentation).
2022-12-17 13:07:28 +01:00
..
config.rs Add source repository to config & docs. 2022-12-17 04:11:54 +01:00
docs.rs Improve rendering of type-signatures in docs 2022-12-17 13:07:28 +01:00
error.rs Remove debug line for pretty-printing test, and add '--debug' flag to 'check instead. 2022-12-15 02:02:10 +01:00
format.rs fix: when formatting and add some methods to Project::Error 2022-11-05 16:23:46 -04:00
lib.rs Apply suggestions from clippy. 2022-12-17 01:02:21 +01:00
module.rs Revert 71e71ff 2022-12-17 11:54:39 +01:00
options.rs Remove debug line for pretty-printing test, and add '--debug' flag to 'check instead. 2022-12-15 02:02:10 +01:00
pretty.rs Move pretty-printing utilities to project::pretty 2022-12-14 21:59:09 +01:00
script.rs move 'EvalInfo' to project::script & define a new 'EvalHint' 2022-12-14 22:00:09 +01:00
telemetry.rs Refactor project source parsing 2022-12-17 01:02:21 +01:00