1. STDFLTR_ALPHA only?
- Posted by axtens_bruce Feb 04, 2023
- 642 views
We've got STDFLTR_ALPHA. It's defined as
public constant STDFLTR_ALPHA = routine_id("filter_alpha")
where filter_alpha is defined as
function filter_alpha(object elem, object ud) return t_alpha(elem) end function
and t_alpha as
public type t_alpha(object test_data) return char_test(test_data, Defined_Sets[CS_Alphabetic]) end type
There are other cool t_* out there like t_digit and t_cntrl but they don't have STDFLTR_*. Deliberate? Accidental? An exercise for the programmer?
-Bruce
2. Re: STDFLTR_ALPHA only?
- Posted by ChrisB (moderator) Feb 05, 2023
- 563 views
Hi
Easy enough to do if you had a call for them and if they became popular enough then they would be added to Eus stdlib.
In the meantime, you could make BrucesStdLibAddns.e, and add it to whatever you were writing, make that public, and await the merging.
Cheers
Chris