Idris2/src
CodingCellist 47c2de3148
[ repl ] Add the ability to get detailed help, e.g. :help :help (#2722)
A common issue for users is that the behaviour of the various repl
commands are not documented anywhere despite some of them having complex
behaviour (e.g. `:set` which accepts a specific set of options). This
implements the ability to call `:?|:h|:help` on repl commands to request
detailed help for a specific repl command, while preserving the
behaviour that calling the help command without any arguments prints the
general help text.

Generic help is defined as the first line of the help text.
Detailed help is defined as the entire help text.

This means that `:help :t`, for example, does not error (there is no
detailed help) but instead just prints the single line of help text.

* [ repl ] Use unlines for detailed help (see #2087)

  Ideally, the lines affected should be multiline strings. But for some
  arcane reason, newlines in those get swallowed in Nix and Windows
  **CI** only Ô.o
  This was already documented in issue #2087.

* [ new ] --except for golden testing lib

  To allow CI to pass despite #2087

Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2022-10-21 14:35:33 +02:00
..
Algebra [ minor ] more magic for name generation 2022-06-17 10:17:40 +01:00
Compiler [ new ] do not split on dotted patterns (#2706) 2022-10-14 16:21:06 +01:00
Core [ new ] do not split on dotted patterns (#2706) 2022-10-14 16:21:06 +01:00
Idris [ repl ] Add the ability to get detailed help, e.g. :help :help (#2722) 2022-10-21 14:35:33 +02:00
Libraries Add test case for lexer issue and fix other instance. 2022-09-05 13:47:41 -07:00
Parser [ refactor ] Index Pretty over the type of annotations (#2371) 2022-04-27 12:26:59 +01:00
Protocol [ IDE ] auto completions (#2511) 2022-06-01 10:26:47 +01:00
TTImp [ new ] do not split on dotted patterns (#2706) 2022-10-14 16:21:06 +01:00
Yaffle [ cleanup ] --timing levels 2022-04-13 14:37:43 +01:00
Algebra.idr [ debug ] pretty printer for case trees (#652) 2020-09-09 16:22:22 +01:00