Arlen:

Regarding units in D, here I have shown a (hopefully) nice usage syntax:

http://forum.dlang.org/thread/[email protected]#post-qnbpufluqlaxfyxzwxnq:40forum.dlang.org


std.rational, which is a small module for rational numbers.
Source:  https://github.com/Arlen/phobos/blob/units/std/rational.d
Docs:  http://arlen.github.com/phobos/std_rational.html

I'd like a Rational in Phobos. Have you tested it (in unittests) widely with Bigints?


std.typelist, which provides the TypeList type and several metafunctions.  The metafunctions are pretty much stolen from Haskell.   Source:  https://github.com/Arlen/phobos/blob/units/std/typelist2.d
Docs:  http://arlen.github.com/phobos/std_typelist2.html

Aren't TypeTuples enough?

Bye,
bearophile

Reply via email to