help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: [DOC] About Lisp Data Types


From: Emanuel Berg
Subject: Re: [DOC] About Lisp Data Types
Date: Sun, 01 Aug 2021 13:57:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

The Elisp type system is dynamic which means type checking is
done at run-time. The type is associated with the value,
not the variable.

I guess it is as easy as the type is determined by the syntax
of the input/return value?

E.g., lists:

  (list 'x 'y 'z)
  '(x y z)
  `(x ,@'(y z))

strings:

  "aaa"
  (make-string 3 ?a)

characters:

  ?a
  97

vectors:

  (vector 1 2 3)
  [1 2 3]

and so on - or am I wrong?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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