Those look really nice, they could especially be used in tutorials. I'm replicating some D1 examples from the dsource page to be D2 compatible, and I could add a bunch of more D2 examples as well.
I'd be willing to write some tutorials for these if they get their way into Phobos. Jesse Phillips Wrote: > Mafi Wrote: > > > That sounds really cool. Having things like this in the std lib would > > allow you to write great consistent utilities with simple and short > > code. If such functions will ever get into phobos (what I really hope), > > they should get their own module. What do you thinke about > > 'std.interact'? Anyways, sounds great! > > > > Mafi > > Is there anything you would consider adding? I guess I'll make the needed > changes and submit it for review. I named the module cmdln.feedback I never > really thought that a great fit, but I can agree it really shouldn't be in > std.stdio.