summaryrefslogtreecommitdiff
path: root/src/content/pastebins/2019/12
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-03-31 21:51:40 -0300
committerEuAndreh <eu@euandre.org>2025-03-31 21:51:40 -0300
commit570ec471d1605318aeefb030cd78682ae442235b (patch)
tree51e17eabe37c6689f8799b55e6875c3480329a2c /src/content/pastebins/2019/12
parentMakefile, mkdeps.sh: Derive index.html and feed.xml from more static "sortdat... (diff)
downloadeuandre.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.adoc24
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
-```
+----