Compare commits

...

2 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire d37818ef6b
Merge c23d3dba62 into 29064908e7 2024-05-02 08:27:04 +02:00
Tristan B. Velloza Kildaire 29064908e7 niknaks.functional
- Cleaned up
2024-05-02 08:15:00 +02:00
1 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,8 @@
*/
module niknaks.functional;
import std.traits : isAssignable;
import std.traits : isAssignable, isFunction, isDelegate, ParameterTypeTuple, ReturnType;
import std.functional : toDelegate;
/**
* Predicate for testing an input type
@ -25,9 +26,6 @@ template Predicate(T)
alias Predicate = bool delegate(T);
}
import std.traits : isFunction, isDelegate, ParameterTypeTuple, isFunction, ReturnType;
import std.functional : toDelegate;
/**
* Given the symbol of a function or
* delegate this will return a new