Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

number symbols from strings in scheme

Name: Anonymous 2013-06-17 8:39

yo'
stop talking about the jews for a moment and help me, thanks.

I'm toying with scheme evaluator and I'd like to know why the conversion from string to symbol, lets say (string->symbol "1"),
returns things as |1| and not '1 that eval or the language itself would recognize as a number.

Name: Anonymous 2013-06-17 8:42

>>1
http://en.wikipedia.org/wiki/Strong_typing
The Lisp family of languages are all "strongly typed" in the sense that typing errors are prevented at runtime. Some Lisp dialects like Common Lisp or Clojure do support various forms of type declarations[9] and some compilers (CMUCL[10] and related) use these declarations together with type inference to enable various optimizations and also limited forms of compile time type checks.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List