-
Notifications
You must be signed in to change notification settings - Fork 11
/
Notes
35 lines (29 loc) · 1.18 KB
/
Notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Str.^methods».name.grep: /uni/
$ p6 -e'Str.^methods».name.say'
BUILD Int Num chomp chop pred succ match ords samecase samespace
trim-leading trim-trailing trim encode wordcase trans indent codes
path unival univals WHY WHICH Bool Str Stringy DUMP ACCEPTS Numeric
gist perl comb subst-mutate subst lines split words
$ p6 -e'Num.^methods».name.say'
Num Bridge Int Rat FatRat succ pred isNaN abs log sqrt rand ceiling
floor sin asin cos acos tan atan sec asec cosec acosec cotan acotan
sinh asinh cosh acosh tanh atanh sech asech cosech acosech cotanh
acotanh narrow sign conj atan2 round unpolar cis Complex exp
truncate polymod base Real sleep log10 roots WHICH new perl Str
Numeric ACCEPTS Bool gist DUMP
$ p6 -e'Bool.^methods».name.say'
Int pred succ key value pick roll enums Bool Numeric Str gist DUMP
ACCEPTS perl
$ p6 -e'"\x[00d0]\x[0110]\x[0189]".perl.say'
"ÐĐƉ"
$ p6 -e'say to-json "\x[00d0]\x[0110]\x[0189]"'
"\u00d0\u0110\u0189"
$ p6 -e'Int.Range.say'
-Inf..Inf
$ p6 -e'Int.Range.max.say'
Inf
$ p6 -e'int.Range.say'
-9223372036854775808..9223372036854775807
$ p6 -e'int.Range.max.say'
9223372036854775807
• attribute defaults are ignored when the class has submethod BUILD