[GAP Forum] IntHexString bug?

Kenn Heinrich kwheinri at swen.uwaterloo.ca
Tue Nov 16 16:10:52 GMT 2004


Is this a bug? It looks like IntHexString only handles StringRep
strings, while other functions like LowercaseString, EvalString, and
Chomp can handle either explicit char lists or StringRep strings.

 - Kenn

s1 := "a";
s2 := ['a'];
s1 = s2; # evaluates to true as expected
LowercaseString(s1) = LowercaseString(s2); # true as expected
IntHexString(s1); # 10 as expected
IntHexString(s2); # gives a non-valid character error

More information about the Forum mailing list