From: Erik Naggum <>
Date: 1999/05/25
Newsgroups: comp.lang.lisp
Message-ID: <>

* (Juanma Barranquero)
| What you're proposing is not very different of what I've suggested in
| my previous post, I think. I suppose you say "something similar to"
| because of that:
| USER(56): (coerce (read-from-string "1") 'bignum)
| Error: Can't coerce 1 to type BIGNUM.
|   [condition type: SIMPLE-ERROR]

  pardon me, but why this obsession with bignums and fixnums?  like all
  types, they do partition a value space, but in a different way than most
  types.  you can have the numeric value 1 in any numeric type, but the
  implementation artifact of machine integers means it cannot be a bignum
  (unless you allow unnormalized bignums, but I digress).  whether an
  integer is a bignum or a fixnum should be none of your concern (unless
  you have severe performance constraints, but I digress).

  I think you will find the answer sooner (whatever it is you're seeking)
  if you don't trouble yourself with such things.

  FWIW, I would like to know the object type of the object that would most
  likely be created if READ (etc) were applied to a string.  (that's "most
  likely" because I don't want error handling until I actually want the
  object, and I don't want to go ahead and read the string with all the
  attendant side effects until I'm sure I want the result.  error handling
  is great, but it necessarily happens after the error has occurred, and
  that is not sufficient at all times.)

@1999-07-22T00:37:33Z -- pi billion seconds since the turn of the century