![](https://secure.gravatar.com/avatar/f6a35c85d26694e26bb92ea4d4262c77.jpg?s=120&d=mm&r=g)
16 Jan
2008
16 Jan
'08
5:51 p.m.
On Jan 16, 2008 6:06 PM, Ivan Boldyrev <lispnik@gmail.com> wrote:
Btw, I would use different specifiers for char and varchar: (char n) => char(n) (string n) => varchar(n)
That was also my first idea, but there are two objections: Firstly, Lisp values of type (string n) have to have *exactly* n characters, and are thus more like char(n) than varchar(n). Secondly, char is an exported symbol in the package :common-lisp, and thus not a very good candidate for use in a library (you aren't allowed to define a type by that name without first shadowing the symbol). Marijn