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

Mockingbird

Name: Anonymous 2013-03-05 14:55

Some languages don't really care about types and allow to write something like (define (w x) (x x)) or even worse stuff.
Are there any statically-typed languages that allow to mock the mockingbird?

Name: 6 2013-03-05 15:41

I might have answered a different thing, OP: check this code too

my Int $num = 123;
my Str $name = "Baka-san";
my @array_of_shit = ($num, $name);
say @array_of_shit.perl;
say @array_of_shit[0].WHAT, @array_of_shit[1].WHAT;

This code will print

«Array.new(123, "Baka-san")
(Int)(Str)»

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