June 2018 Update

This commit is contained in:
Ingy döt Net 2018-06-22 20:57:24 +00:00
parent ba8067c3b7
commit 22f33d4004
5278 changed files with 84726 additions and 14379 deletions

View file

@ -0,0 +1,7 @@
/* created by Aykayayciti Earl Lamont Montgomery
April 9th, 2018 */
s = "fun "
s = s + "Falcon"
> s

View file

@ -1,3 +1,21 @@
my $str = 'bar';
substr $str, 0, 0, 'Foo';
print $str;
use strict;
use warnings;
use feature ':all';
# explicit concatentation
$_ = 'bar';
$_ = 'Foo' . $_;
say;
# lvalue substr
$_ = 'bar';
substr $_, 0, 0, 'Foo';
say;
# interpolation as concatenation
# (NOT safe if concatenate sigils)
$_ = 'bar';
$_ = "Foo$_";
say;

View file

@ -0,0 +1,4 @@
Red []
s: "world"
insert s "hello "
print s

View file

@ -0,0 +1,3 @@
let mut s = "World".to_string();
s.insert_str(0, "Hello ");
println!("{}", s);

View file

@ -0,0 +1,5 @@
sca s="Vita Brevis"
sca s="Ars Longa "+s
di s
Ars Longa Vita Brevis