Merge branch 'master' into feature/views

This commit is contained in:
Tristan B. Velloza Kildaire 2024-05-02 08:33:15 +02:00
commit a2fc15aac1
2 changed files with 2 additions and 5 deletions

View File

@ -345,7 +345,6 @@ public struct ConfigEntry
{
return numeric();
}
else static if(__traits(isSame, T, string[]))
{
return array();

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