diff --git a/source/niknaks/functional.d b/source/niknaks/functional.d index 48db5c1..fdbdc98 100644 --- a/source/niknaks/functional.d +++ b/source/niknaks/functional.d @@ -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