yamadapc
b4a23ba7cf
Fix the version in the source code.
...
I won't republish the package, just because of this, but it's nice to
keep things in sync.
2014-07-13 17:18:02 -03:00
yamadapc
42a779cfc3
Make colorHelper
overloading cleaner.
...
Using `static if`'s for type checking inside of a constrained template
function didn't make much sense after all.
2014-07-13 15:12:50 -03:00
yamadapc
4d8473495a
Start drafting string API support and add aliases.
...
This changes the way colorize works and is still a *really* rough draft.
I didn't want to repeat the color codes, but also don't feel much like
wasting time making such a trivial use case non-verbose.
This relates to #1 , but, as I said is still just an API idea, not
something I'd like to push to dub yet.
2014-07-12 20:42:18 -03:00
yamadapc
b47a79deb2
Fix style for template constraints.
...
I'm simply trying to follow what I see in the wild; not sure about this
either.
2014-07-12 20:10:05 -03:00
yamadapc
342da0b563
Use a generic function for the colorHelper
.
...
Instead of using a template. This is cleaner; I don't know why it didn't
come to my mind. I'm not sure if it's possible to make it work while
using the private specifier.
2014-07-12 20:07:30 -03:00
yamadapc
be783f8fe1
Try cleaning-up the module with templates.
...
I'm not sure about this, but it saves a few lines and is still pretty
easy to understand, while having no runtime cost.
2014-07-12 19:49:05 -03:00
yamadapc
fc2a2dd537
Fix the proposed helper functions.
...
I think this can be simplified with templates. I'm wondering if the
colorize function could be made compile-time when that's possible.
2014-07-12 19:32:59 -03:00
yamadapc
5f944fad66
Use const str
parameters.
...
This is a more reasonable approach.
2014-07-12 19:32:26 -03:00
yamadapc
9f4fddd188
Add separate functions for each coloring type.
...
This is more than a draft; I'm just jotting down ideas to see how they
look on the screen.
2014-07-11 20:30:13 -03:00
yamadapc
4a227f46c1
Add build status badge and bump version.
...
I'm doing this simply to have the cleaned-up in the registry.
2014-07-10 00:06:21 -03:00
yamadapc
321a3664ef
Start adding proper documentation.
...
I still have to add travis-ci testing and publish this package to the
dub directory.
2014-07-09 23:24:24 -03:00
yamadapc
304f29787e
Initial commit.
2014-07-09 13:50:01 -03:00