Skip to content

Commit 4b84000

Browse files
committed
Stub functions.pod
1 parent 60cdbe9 commit 4b84000

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

lib/Language/functions.pod

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
=begin pod
2+
3+
=TITLE Functions
4+
5+
=SUBTITLE Functions and Functional Programming in Perl 6
6+
7+
TODO
8+
9+
=head1 Defining/Creating/Using Functions
10+
11+
TODO
12+
=comment sub, &
13+
14+
=comment my, our sub
15+
16+
=head2 Blocks and Lambdas
17+
18+
TODO
19+
=comment for, if take blocks/lambdas
20+
21+
=comment link to Block documentation (?)
22+
23+
=head2 Multi-dispatch
24+
25+
TODO
26+
=comment multi, proto, {*}, only
27+
28+
=head2 Signatures
29+
30+
TODO
31+
=comment :(), required, optional, positional, name, slurpy, capture, "where"
32+
conditionals, destructuring, returns
33+
34+
=head2 Parameters
35+
36+
TODO
37+
=comment prefix:<|>, pair-chaining, \()
38+
39+
=head1 Functions are First-Class Objects
40+
41+
TODO
42+
=comment e.g. `@list.sort :&as`, closures, lexical subs
43+
44+
=comment return from sub and return from block
45+
46+
=comment method invoke { ... }
47+
48+
=head2 Routines
49+
50+
TODO
51+
=comment Important ones: candidates, wrap, unwrap, assuming, arity, count
52+
53+
=comment link to Routine documentation (?)
54+
55+
=head1 Defining Operators
56+
57+
TODO
58+
59+
=head2 Precedence
60+
61+
TODO
62+
=comment trait-mods, tighter, equiv, etc.
63+
64+
=head1 Trait-mods
65+
66+
TODO
67+
=comment cached, hidden_from_backtrace, pure, export, rw, DEPRECATED
68+
69+
=end pod

0 commit comments

Comments
 (0)