You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New material on type captures; work on introduction and parameter separators; some fixes here and there (#4669)
* Complete overhaul of section on double semicolon (;;) parameter separator in file Language/signatures.rakudoc
* Expand section Type captures (adding text on coercion and constraints). Also various fixes.
* correct definition of subset Even, and adjust output
* clarify explanation re. Nil/is-default
* further clarify difference between parameters and variables with default values when assigned Nil
* restore text that apparently was unintentionally deleted in 2024 with commit 348e623
* fix sentence relationship in section "Constraining signatures of Callables", and make examples more pertinent
* skip test for failing code & align code
* sigilled -> sigiled
* add missing formatting code
* fix Num -> Numeric
* captured types can in fact be used as return types. +make spaces consistent
* fix rakudoc syntax (C<->> to C«->») and add note to pod.rakudoc
* add example for using captured type as return type constraint
* add example combining capture with type smiley
* add resulting signatures to examples
* add link to explanation of itemization
* Show how itemization prevents flattening in slurpies. Move section 'Type captures' up, and sections on slurpies down.
* Moving section 'Type captures' up keeps the material on type constraints together.
* Moving sections on slurpies down so that the more elementary section 'Positional vs. named arguments' appears first.
* consistent usage of puntuation before examples
* Add basic slurpies to introduction
0 commit comments