root/docs/p6types

Revision 21928, 5.4 kB (checked in by rhr, 5 months ago)

syntax fixes from STD++

  • Property svn:mime-type set to text/plain; charset=UTF-8
  • Property svn:eol-style set to native
Line 
1Classes
2==================
3Object
4    .defined
5    .true
6    .handled
7    .perl
8    .fmt
9    .print
10    .say
11    .take
12    .new
13    .bless
14    .clone
15    .BUILD
16    .BUILDALL
17    .CREATE
18    .WHAT
19    .WHICH
20    .WHO
21    .WHERE
22    .HOW (...)
23    .WHEN
24    .WHY
25    .WHENCE
26    fail
27    die
28    warn
29    term:<...>
30    term:<!!!>
31    term:<???>
32    prefix:<?>
33    prefix:<!>
34    prefix:<?^>
35    prefix:<true>
36    prefix:<not>
37#    prefix:<[X!beforeX=]«> etc.
38    infix:<?&>
39    infix:<?|>
40    infix:<?^>
41    infix:<&&>
42    infix:<||>
43    infix:<^^>
44    infix:<and>
45    infix:<andthen>
46    infix:<or>
47    infix:<xor>
48    infix:<orelse>
49    infix:<?? !!>
50    infix:<ff>
51    infix:<^ff>
52    infix:<ff^>
53    infix:<^ff^>
54    infix:<fff>
55    infix:<^fff>
56    infix:<fff^>
57    infix:<^fff^>
58    infix:<//>
59    infix:<&>
60    infix:<|>
61    infix:<^>
62    infix:<but>
63    infix:<does>
64    infix:<===>
65    infix:<eqv>
66Junction is Object does Set
67    .values
68Any is Object does Pattern
69    .elems
70    .end
71    .grep
72    .map
73    .bytes
74    .codes
75    .graphs
76    .chars
77    .any
78    .all
79    .one
80    .none
81    .reverse
82    .push
83    .pop
84    .shift
85    .unshift
86    .pack
87    .sort
88    .keys
89    .values
90    .pairs
91    .kv
92    .shape
93    prefix:<+>
94    prefix:<~>
95    prefix:<|>
96    prefix:<\>
97    infix:<Z>
98    infix:<X>
99    infix:<x>
100    infix:<xx>
101    infix:«=>»
102    infix:«p5=>»
103    infix:<,>
104    infix:<~~>
105Whatever is Any
106Failure is Any
107Complex is Any
108    infix:<+>
109    infix:<->
110    infix:<*>
111    infix:</>
112    infix:<**>
113    infix:<==>
114    prefix:<->
115Num is Complex does Order
116    infix:<%>
117    infix:<div>
118    infix:<mod>
119    infix:«+&»
120    infix:«+<»
121    infix:«+>»
122    infix:<+|>
123    infix:<+^>
124    infix:«<=»
125    infix:«>=»
126    infix:«<»
127    infix:«>»
128    infix:«<=>»
129    prefix:<int>
130    prefix:<+^>
131    prefix:<^>
132Rat is Num
133Int is Rat
134Bit is Int
135Str is Any does Filetest does Order
136    .substr
137    .unpack
138    .match
139    .subst
140    .trans
141    .eval
142    .samebase
143    .lc
144    .lcfirst
145    .uc
146    .ucfirst
147    .capitalize
148    .samecase
149    .ord
150    .chr
151    .normalize
152    .nfd
153    .nfkd
154    .nfc
155    .nfkc
156    infix:<~>
157    infix:<eq>
158    infix:<ne>
159    infix:<ge>
160    infix:<gt>
161    infix:<le>
162    infix:<lt>
163    infix:<leg>
164AnyChar is Any does Str
165Byte is AnyChar
166Codepoint is AnyChar
167Grapheme is AnyChar
168StrPos is Any does Order
169    infix:<+>
170    infix:<->
171StrLen is Any does Order
172    prefix:<->
173    infix:<+>
174    infix:<->
175Bool is Any does Order
176Exception is Any
177Version is Any
178List is Any does Positional
179Seq is Any does List
180Range is Any does List does Num
181    .from
182    .to
183Set is Any does Associative
184Bag is Any does Associative
185Cat is Any does Str
186Pair is Any does Associative
187    .key
188    .value
189Mapping is Set of Pair
190Signature is Any does Positional
191    .item
192    .list
193    .void
194    .rw
195    .arity
196    .count
197Capture is Any does Positional does Associative
198Match is Capture
199    .from
200    .to
201    .pretext
202    .chars
203    .orig
204    .text
205Blob is Any
206Scalar is Any does Container does Order
207Array is Any does Container does Positional does KitchenSink
208Hash is Mapping does Container
209KeyHash is Hash
210KeySet is KeyHash
211KeyBag is KeyHash does Bag
212Buf is Any does Positional
213    .unpack
214    prefix:<~^>
215    infix:<~&>
216    infix:«~<»
217    infix:«~>»
218    infix:<~|>
219    infix:<~^>
220IO is Any does Filetest does Each does KitchenSink
221    .file
222    .close
223    .fcntl
224    .ioctl
225    .name
226    .stat
227    .getc
228    .print
229    .say
230    .printf
231    .fileno
232    .flock
233    .eof
234    .lines
235    .seek
236    .tell
237    .slurp
238Socket is IO
239    .listen
240    .accept
241    .send
242    .recv
243    .shutdown
244#    .(get|set)*
245Pipe is IO
246Statbuf is Any does Filetest
247    .file
248    .io
249Code is Any does Callable
250Block is Code
251    .labels
252    BEGIN
253    CHECK
254    INIT
255    END
256    START
257    ENTER
258    LEAVE
259    KEEP
260    UNDO
261    FIRST
262    NEXT
263    LAST
264    PRE
265    POST
266    CATCH
267    CONTROL
268Routine is Block does Container
269    .name
270    .return
271    .wrap
272Sub is Routine
273Method is Routine
274Submethod is Routine
275Macro is Routine
276Regex is Method
277    .match
278Subst is Regex
279    .subst
280Token is Regex
281Rule is Regex
282Package is Any does Abstraction does Associative
283    .CANDO
284Module is Package
285    .EXPORT
286    .EXPORTALL
287Class is Module
288    prefix:<^>
289Role is Module
290    prefix:<^>
291Enum is Any
292Grammar is Class
293    .match
294Cursor is Any (does Match ?)
295    .pos
296    ._
297    .orig
298    .from
299    .to
300Context is Any does Callable (or is Code ?)
301    .context
302    .caller
303    .leave
304    .want
305    .inline
306    .package
307    .file
308    .line
309    .my
310    .hints
311
312Roles
313==================
314Positional does Each
315    postcircumfix:<[ ]>
316Associative does Each
317    postcircumfix:<{ }>
318    .contains
319    .iterator
320Callable
321    postcircumfix:<( )>
322    .repr
323    .assuming
324    .arity
325    .callwith
326    .callsame
327    .nextwith
328    .nextsame
329    .leave
330    .fail
331    .break
332    .next
333    .last
334    .redo
335    .goto
336Abstraction
337Iterator
338    prefix:<=>
339    .reset
340Filetest
341#    .:etc
342Order
343#    enum «:Increase(-1) Same Decrease»
344    .succ
345    .pred
346    .min
347    .max
348    .minmax
349    infix:<minmax>
350    infix:<before>
351    infix:<after>
352    infix:<cmp>
353    prefix:<++>
354    prefix:<-->
355    postfix:<++>
356    postfix:<-->
357    infix:<min>
358    infix:<max>
359    infix:<..>
360    infix:<^..>
361    infix:<..^>
362    infix:<^..^>
363Container
364    .STORE
365    .FETCH
366    .TEMP
367    infix:<=>
368    infix:<:=>
369    infix:<::=>
370    infix:<=:=>
371Pattern
372    .ACCEPTS
373    .REJECTS
374Each does Iterator
375    .each
376Resumable
377KitchenSink
378    .clear
379    .push
Note: See TracBrowser for help on using the browser.