@@ -4,78 +4,78 @@ Standard library
44Builtin functions
55^^^^^^^^^^^^^^^^^
66
7- .. function :: unique(indexable)
8-
9- Given a collection, create a list with all duplicates removed
10-
11- .. function :: pattern(regex, case_sensitive)
12-
13- Given a regex pattern string, create a pattern object
14-
15- .. function :: print(to_print, new_line)
7+ .. function :: base_name(file_name)
168
17- Built-in print function. Prints the argument
9+ Given a string that represents a file name, returns the basename
1810
19- .. function :: img(string )
11+ .. function :: concat(list )
2012
21- Return a string representation of an object
13+ Given a list, return the result of the concatenation of all its elements
2214
2315.. function :: doc(value)
2416
2517 Given any object, return the documentation associated with it
2618
27- .. function :: reduce(iterable, function, init_value)
28-
29- Given a collection, a reduction function, and an initial value reduce the result
30-
3119.. function :: document_builtins()
3220
3321 Return a string in the RsT format containing documentation for all built-ins
3422
35- .. function :: base_name(file_name )
23+ .. function :: document_namespace(namespace, name )
3624
37- Given a string that represents a file name, returns the basename
25+ Return a string in the RsT format containing documentation for all built-ins
3826
39- .. function :: concat(list )
27+ .. function :: help(value )
4028
41- Given a list, return the result of the concatenation of all its elements
29+ Print formatted help for the given object
4230
43- .. function :: repeat(times, function )
31+ .. function :: img(string )
4432
45- Call the given function N times
33+ Return a string representation of an object
4634
4735.. function :: map(iterable, function)
4836
4937 Given a collection, a mapping function
5038
51- .. function :: profile(val )
39+ .. function :: node_checker(root )
5240
53- Given any object, if it is a callable, return its profile as text
41+ Given a root, execute all node checkers while traversing the tree
5442
55- .. function :: document_namespace(namespace, name )
43+ .. function :: pattern(regex, case_sensitive )
5644
57- Return a string in the RsT format containing documentation for all built-ins
45+ Given a regex pattern string, create a pattern object
5846
59- .. function :: help(value )
47+ .. function :: print(to_print, new_line )
6048
61- Print formatted help for the given object
49+ Built-in print function. Prints the argument
6250
63- .. function :: units( )
51+ .. function :: profile(val )
6452
65- Return a list of all units
53+ Given any object, if it is a callable, return its profile as text
54+
55+ .. function :: reduce(iterable, function, init_value)
56+
57+ Given a collection, a reduction function, and an initial value reduce the result
58+
59+ .. function :: repeat(times, function)
60+
61+ Call the given function N times
6662
6763.. function :: specified_units()
6864
6965 Return a list of units specified by the user
7066
71- .. function :: node_checker(root )
67+ .. function :: unique(indexable )
7268
73- Given a root, execute all node checkers while traversing the tree
69+ Given a collection, create a list with all duplicates removed
7470
7571.. function :: unit_checker(unit)
7672
7773 Given a unit, apply all the unit checkers on it
7874
75+ .. function :: units()
76+
77+ Return a list of all units
78+
7979Builtin methods
8080^^^^^^^^^^^^^^^
8181
0 commit comments