Subject: Re: newbie: problems with strings
From: Erik Naggum <erik@naggum.net>
Date: Wed, 13 Feb 2002 12:40:21 GMT
Newsgroups: comp.lang.lisp
Message-ID: <3222592823359991@naggum.net>

* Josip Krapac <josip.krapac@fsb.hr>
| If strings are vectors of characters then why (vector #\f #\o #\o) is not
| a string?

  Because strings are _specialized_ vectors of characters.

| Are strings also simple-vectors of characters?

  No.

| What is the difference bewteen simple-vectors and non-simple-vectors?

  The homogeneity of the type of the elements.

  In other words, a string is a vector that can _only_ store characters.

///
-- 
  In a fight against something, the fight has value, victory has none.
  In a fight for something, the fight is a loss, victory merely relief.