Skip to content

Commit d887230

Browse files
committed
[std.functional] Sort links at top
1 parent 9cfa402 commit d887230

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

std/functional.d

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,21 @@ $(TR $(TH Function Name) $(TH Description)
1616
$(TD Joins a couple of functions into one that executes the original
1717
functions independently and returns a tuple with all the results.
1818
))
19+
$(TR $(TD $(LREF bind))
20+
$(TD Passes the fields of a struct as arguments to a function.
21+
))
1922
$(TR $(TD $(LREF compose), $(LREF pipe))
2023
$(TD Join a couple of functions into one that executes the original
2124
functions one after the other, using one function's result for the next
2225
function's argument.
2326
))
27+
$(TR $(TD $(LREF ctEval))
28+
$(TD Enforces the evaluation of an expression during compile-time.
29+
))
30+
$(TR $(TD $(LREF curry))
31+
$(TD Converts a multi-argument function into a series of single-argument
32+
functions. `f(x, y) == curry(f)(x)(y)`
33+
))
2434
$(TR $(TD $(LREF lessThan), $(LREF greaterThan), $(LREF equalTo))
2535
$(TD Ready-made predicate functions to compare two values.
2636
))
@@ -34,10 +44,6 @@ $(TR $(TH Function Name) $(TH Description)
3444
$(TD Creates a function that binds the first argument of a given function
3545
to a given value.
3646
))
37-
$(TR $(TD $(LREF curry))
38-
$(TD Converts a multi-argument function into a series of single-argument
39-
functions. f(x, y) == curry(f)(x)(y)
40-
))
4147
$(TR $(TD $(LREF reverseArgs))
4248
$(TD Predicate that reverses the order of its arguments.
4349
))
@@ -48,12 +54,6 @@ $(TR $(TH Function Name) $(TH Description)
4854
$(TD Create a unary or binary function from a string. Most often
4955
used when defining algorithms on ranges.
5056
))
51-
$(TR $(TD $(LREF bind))
52-
$(TD Passes the fields of a struct as arguments to a function.
53-
))
54-
$(TR $(TD $(LREF ctEval))
55-
$(TD Enforces the evaluation of an expression during compile-time.
56-
))
5757
))
5858
5959
Copyright: Copyright Andrei Alexandrescu 2008 - 2009.
@@ -911,7 +911,7 @@ template partial(alias fun, alias arg)
911911

912912
/**
913913
Takes a function of (potentially) many arguments, and returns a function taking
914-
one argument and returns a callable taking the rest. f(x, y) == curry(f)(x)(y)
914+
one argument and returns a callable taking the rest. `f(x, y) == curry(f)(x)(y)`
915915
916916
Params:
917917
F = a function taking at least one argument

0 commit comments

Comments
 (0)