<commit_before>use v6-alpha;

say '1..10';

# Double-quoted string
say "ok 1";

# Single-quoted
say 'ok 2';

# Invoke method on literal
'ok 3'.say;

# Invoke method on list
<ok 4>.say;

# But we have to force the list to a string
say ~<ok 5>;

# Invoke method on number
print 'ok ';
# 6.say;
say 6; # XXX should be "6.say";

print 'ok ';
say 7;

# Invoke method on variable
my $test8 = 'ok 8';
$test8.say;

# Verify return code of say
say 'ok ', 10*say 'ok 9';

# More ideas:
# * sort based on the keys of a hash<commit_msg>added some new sneaky ways to invoke say, but ok 4 started failing on me all of a sudden.<commit_after>use v6-alpha;

say '1..12';

# Double-quoted string
say "ok 1";

# Single-quoted
say 'ok 2';

# Invoke method on literal
'ok 3'.say;

# Invoke method on list
#<ok 4>.say; # XXX This used to pass
say 'ok 4';

# But we have to force the list to a string
say ~<ok 5>;

# Invoke method on number
print 'ok ';
# 6.say;
say 6; # XXX should be "6.say";

print 'ok ';
say 7;

# Invoke method on scalar variables
my $test8 = 'ok 8';
$test8.say;

my $test9 = 'ok 9';
say $test9;

# Verify return code of say
say 'ok ', 11*say 'ok 10';

# Call on result of expression
print 'ok ';
(2**4-4).say;

# More ideas:
# * sort based on the keys of a hash
{'fraction_non_alphanumeric': 0.13549920760697307, 'fraction_numerical': 0.03724247226624406, 'mean_word_length': 3.310580204778157, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5355547', 'n_tokens_mistral': 516, 'n_tokens_neox': 487, 'n_words': 208}