Re: Looking for documentation of D's lower-level aspects.

2011-10-20 Thread Jacob Carlborg
On 2011-10-20 00:59, Trass3r wrote: Am 20.10.2011, 00:06 Uhr, schrieb Sean Silva chisophu...@gmail.com: == Quote from Jesse Phillips (jessekphillip...@gmail.com)'s article Right now D isn't ready to be used in this fashion It looks there's a more-or-less functional kernel written in D (and

char and string with umlauts

2011-10-20 Thread Jim Danley
I have been a programmer for many years and started using D about one year back. Suddenly, I find myself in unfamiliar territory. I need to used Finish umlauts in chars and strings, but they are not part of my usual American ASCII character set. Can anyone point me in the right direction?

Re: char and string with umlauts

2011-10-20 Thread Trass3r
Make sure your source file is saved in UTF-8 format.

Re: char and string with umlauts

2011-10-20 Thread Jonathan M Davis
On Thursday, October 20, 2011 09:48 Jim Danley wrote: I have been a programmer for many years and started using D about one year back. Suddenly, I find myself in unfamiliar territory. I need to used Finish umlauts in chars and strings, but they are not part of my usual American ASCII character

Re: char and string with umlauts

2011-10-20 Thread Ali Çehreli
On Thu, 20 Oct 2011 19:48:54 +0300, Jim Danley wrote: I have been a programmer for many years and started using D about one year back. Suddenly, I find myself in unfamiliar territory. I need to used Finish umlauts in chars and strings, but they are not part of my usual American ASCII

Re: char and string with umlauts

2011-10-20 Thread GrahamC
On Thu, 20 Oct 2011 19:48:54 +0300, Jim Danley wrote: I have been a programmer for many years and started using D about one year back.  Suddenly, I find myself in unfamiliar territory.  I need to used Finish umlauts in chars and strings, but they are not part of my usual American ASCII

Chars sorting and copies

2011-10-20 Thread bearophile
I have many strings and I want to use as associative array kay a sorted concat of two strings (it's a signature of the two strings): import std.algorithm; void main() { string a = red; string b = green; int[string] aa; //aa[(a ~ b).sort] = 1; //aa[(a ~ b).sort.idup] = 1;

Re: Chars sorting and copies

2011-10-20 Thread Jonathan M Davis
On Thursday, October 20, 2011 21:49:27 bearophile wrote: I have many strings and I want to use as associative array kay a sorted concat of two strings (it's a signature of the two strings): import std.algorithm; void main() { string a = red; string b = green; int[string] aa;

Re: Chars sorting and copies

2011-10-20 Thread Steven Schveighoffer
On Thu, 20 Oct 2011 21:49:27 -0400, bearophile bearophileh...@lycos.com wrote: I have many strings and I want to use as associative array kay a sorted concat of two strings (it's a signature of the two strings): import std.algorithm; void main() { string a = red; string b = green;

AI Challenge - Ants

2011-10-20 Thread Marco Leise
Hi! I've been part of the team behind http://aichallenge.org/. We just started our next challenge about 30 minutes ago. This will be the first time that DMD 2.054 is supported there and since I've been posting on this NG a few times I though it would be a good place to make an announcement.

Re: AI Challenge - Ants

2011-10-20 Thread Jonathan M Davis
On Friday, October 21, 2011 06:22:43 Marco Leise wrote: Hi! I've been part of the team behind http://aichallenge.org/. We just started our next challenge about 30 minutes ago. This will be the first time that DMD 2.054 is supported there and since I've been posting on this NG a few times I