[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Module name mangling

From: Marius Vollmer
Subject: Re: Module name mangling
Date: 20 Jan 2001 14:55:11 +0100
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Dirk Herrmann <address@hidden> writes:

> Your code does the right thing (as far as I have understood the discussion
> :-), but it is somewhat too complicated:  To convert a character to a
> hexadecimal number, you can simply to the following:
> (number->string (char->integer #\*) 16)
>  --> "2a"
> By using this pattern the patch should become a little bit simpler.

But you have to make sure that you always get two digits.

  (number->string 12 16)
  --> "c"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]