From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d5b211b0c1ffcf3e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.205.122.65 with SMTP id gf1mr428433bkc.2.1339696688281; Thu, 14 Jun 2012 10:58:08 -0700 (PDT) Path: e27ni48142bkw.0!nntp.google.com!news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!newsfeed.straub-nv.de!nuzba.szn.dk!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Practicalities of Ada for app development Date: Mon, 11 Jun 2012 18:19:34 +0200 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: <87txyhkei1.fsf@adaheads.sparre-andersen.dk> References: <1c82b5mc3waww.1t6q6vj61u36u.dlg@40tude.net> <42a87cf3ce9bfd6054f78b2b5b356301@dizum.com> <4fd60053$0$9510$9b4e6d93@newsspool1.arcor-online.net> NNTP-Posting-Host: 90-227-113-193-no118.business.telia.com Mime-Version: 1.0 X-Trace: munin.nbi.dk 1339431574 30320 90.227.113.193 (11 Jun 2012 16:19:34 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 11 Jun 2012 16:19:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:ZJmQ6S3rM65lKZo9xQRRkUyogtg= Content-Type: text/plain; charset=us-ascii Date: 2012-06-11T18:19:34+02:00 List-Id: Dmitry A. Kazakov wrote: > Code points are numeric: > > http://en.wikipedia.org/wiki/Unicode > > As I wrote, I considered Wide_Wide_Character, which also partially > implements the interface of code point. I used modular interface > instead because numeric literals seem more important for code points > than character literals. Did you remember to override the operators on your code point type with abstract functions? type Code_Point is mod 2 ** 32; overriding function "+" (Left, Right : Code_Point) return Code_Point is abstract; ... Greetings, Jacob -- "The same equations have the same solutions."