Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Plans por Perl6 running in the JVM

Name: Anonymous 2013-01-10 8:20

1) GOOD?
2) BAD?
3) POTATO?

Name: Anonymous 2013-02-19 11:49

>>40
@ It is not a type. It is a container. You can use types also if you like


my Str @x = ('a', 'b', 'c');
my Int @n = (1,2,3,4);
sub head(Int @arr) { return @arr[0] };

say head( @x ); # This fails
say head( @n ); # This works

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List