diff options
author | EuAndreh <eu@euandre.org> | 2025-03-31 21:51:40 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-03-31 21:51:40 -0300 |
commit | 570ec471d1605318aeefb030cd78682ae442235b (patch) | |
tree | 51e17eabe37c6689f8799b55e6875c3480329a2c /src/content/pastebins/2019/12 | |
parent | Makefile, mkdeps.sh: Derive index.html and feed.xml from more static "sortdat... (diff) | |
download | euandre.org-570ec471d1605318aeefb030cd78682ae442235b.tar.gz euandre.org-570ec471d1605318aeefb030cd78682ae442235b.tar.xz |
src/content/: Update all files left to asciidoc
Diffstat (limited to 'src/content/pastebins/2019/12')
-rw-r--r-- | src/content/pastebins/2019/12/29/raku-tuple-type.adoc | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/src/content/pastebins/2019/12/29/raku-tuple-type.adoc b/src/content/pastebins/2019/12/29/raku-tuple-type.adoc index 3d5ff34..8bb7250 100644 --- a/src/content/pastebins/2019/12/29/raku-tuple-type.adoc +++ b/src/content/pastebins/2019/12/29/raku-tuple-type.adoc @@ -1,18 +1,7 @@ ---- += Raku tuple type annotation -title: Raku tuple type annotation - -date: 2019-12-29 - -layout: post - -lang: en - -ref: raku-tuple-type-annotation - ---- - -```perl +[source,perl] +---- # Single Str return value: this works sub f1(Str $in --> Str) { $in; @@ -27,11 +16,12 @@ sub f2(Str $in) { sub f2(Str $in --> (Str, Str)) { ($in, $in); } -``` +---- Error log is: -```perl +[source,perl] +---- ===SORRY!=== Error while compiling /path/to/my/file Malformed return value -``` +---- |