Re: [Chicken-users] More informative names to srfi units - request from a long-term neophyte
Arthur Maciel scripsit: my heart bleeds not only for self-evaluating vectors in R7RS, What is it with this? Strings are self-evaluating, why shouldn't vectors be? In R6RS, bytevectors are self-evaluating because they're thought of as a variant on strings, but vectors still aren't. I requested it for R6RS in a Formal Comment, but got this: Generally, Scheme has often favored uniformity over succinctness, which is also why vector datums are not literals. What uniformity? There is nothing uniform about what's self-evaluating and what is not. What's more, dialects differ, but nobody uses vector literals as a kind of syntax. Currently Racket, Gauche, MIT, Guile, Kawa, Chibi, SCM, STklos, Scheme 9, Scheme 7, UMB, VX, Oaklisp treat vectors as self-quoting. Gambit, Chicken, Bigloo, Scheme48/scsh, SISC, Ikarus, Larceny, Ypsilon, IronScheme, Mosh, KSi, SigScheme, Elk treat unquoted vectors as errors. Those are the only possibilities that actually exist. In R7RS, everything is self-evaluating except symbols and lists. Very simple and easy to remember. Yet people complain. Is it just that Common Lisp makes everything self-evaluating and we're supposed to be an Uncommon Lisp? Grasshopper seeks enlightenment -- John Cowan co...@ccil.org http://ccil.org/~cowan If I have seen farther than others, it is because I am surrounded by dwarves. --Murray Gell-Mann ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] More informative names to srfi units - request from a long-term neophyte
Hi John, On Tue, 9 Apr 2013 10:22:34 -0400 John Cowan co...@mercury.ccil.org wrote: In R7RS, everything is self-evaluating except symbols and lists. Very simple and easy to remember. Yet people complain. And pairs? Mario -- http://parenteses.org/mario ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Self-evaluation
Mario Domenech Goulart scripsit: In R7RS, everything is self-evaluating except symbols and lists. Very simple and easy to remember. Yet people complain. And pairs? Pairs are a subtype of lists in this context. Of course, not every list is valid code. -- John Cowanhttp://ccil.org/~cowanco...@ccil.org Mr. Henry James writes fiction as if it were a painful duty. --Oscar Wilde ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] More informative names to srfi units - request from a long-term neophyte
John, indeed this is not my point. Felix mentioned heart bleeding about self-evaluating vector on r7rs-tasks page ( https://wiki.call-cc.org/r7rs-tasks). My intention was to stress out that not only conceptual issues create dissatisfaction, but the very fact that chicken great developers can't use chicken on their jobs. Personally I don't have a point whether vector should be self-evaluating or not. It was just a reference to extrapolate to another subject. Sorry for the confusion. 2013/4/9 John Cowan co...@mercury.ccil.org Arthur Maciel scripsit: my heart bleeds not only for self-evaluating vectors in R7RS, What is it with this? Strings are self-evaluating, why shouldn't vectors be? In R6RS, bytevectors are self-evaluating because they're thought of as a variant on strings, but vectors still aren't. I requested it for R6RS in a Formal Comment, but got this: Generally, Scheme has often favored uniformity over succinctness, which is also why vector datums are not literals. What uniformity? There is nothing uniform about what's self-evaluating and what is not. What's more, dialects differ, but nobody uses vector literals as a kind of syntax. Currently Racket, Gauche, MIT, Guile, Kawa, Chibi, SCM, STklos, Scheme 9, Scheme 7, UMB, VX, Oaklisp treat vectors as self-quoting. Gambit, Chicken, Bigloo, Scheme48/scsh, SISC, Ikarus, Larceny, Ypsilon, IronScheme, Mosh, KSi, SigScheme, Elk treat unquoted vectors as errors. Those are the only possibilities that actually exist. In R7RS, everything is self-evaluating except symbols and lists. Very simple and easy to remember. Yet people complain. Is it just that Common Lisp makes everything self-evaluating and we're supposed to be an Uncommon Lisp? Grasshopper seeks enlightenment -- John Cowan co...@ccil.org http://ccil.org/~cowan If I have seen farther than others, it is because I am surrounded by dwarves. --Murray Gell-Mann ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] [Q] Why this simple code does not run?
(sort '(1 2 3 4 5 6 7 8 9) ) I can run this code in the interpreter env. and I can even compile this using chicken scheme compiler, however if I run the result binary, it emits following error message; Error: unbound variable: sort Call history: sort.scm:1: sort-- What should I do? ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] [Q] Why this simple code does not run?
Hi, On Wed, 10 Apr 2013 11:26:35 +0900 Sungjin Chun chu...@gmail.com wrote: (sort '(1 2 3 4 5 6 7 8 9) ) I can run this code in the interpreter env. and I can even compile this using chicken scheme compiler, however if I run the result binary, it emits following error message; Error: unbound variable: sort Call history: sort.scm:1: sort -- What should I do? You need (use data-structures) in your code. You don't get that error in the interpreter because it automatically loads the data-structures unit. Best wishes. Mario -- http://parenteses.org/mario ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] [Q] Why this simple code does not run?
On Tue, Apr 9, 2013 at 8:26 PM, Sungjin Chun chu...@gmail.com wrote: Error: unbound variable: sort Call history: sort.scm:1: sort-- What should I do? You should begin the file with (use data-structures) HTH. -- Matt Gushee ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] [Q] Why this simple code does not run?
Thank you. And sometimes I have to include srfi-1 for drop and others. On Wed, Apr 10, 2013 at 11:39 AM, Matt Gushee m...@gushee.net wrote: On Tue, Apr 9, 2013 at 8:26 PM, Sungjin Chun chu...@gmail.com wrote: Error: unbound variable: sort Call history: sort.scm:1: sort-- What should I do? You should begin the file with (use data-structures) HTH. -- Matt Gushee ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users