2008-11-01ãã1ã¶æéã®è¨äºä¸è¦§
car,cdr,append,reverse辺ãã¾ã§ä½ã£ãæï¼ã§ãinspectã ãã¯Rubyã§æ¸ããï¼ irb:0> a = List.new(1,2,3) => (1 2 3) irb:0> b = List.new(a,a,a) => (#0=(1 2 3) #0# #0#) irb:0> b.cdr = b => #0=((1 2 3) . #0#) irb:0> List.new(a,b,b) => (#0=(1 2 3) #â¦
Rubyã®ãã¼ã¸ã§ã³ãä¸ãããããï¼ãã¤ã®ã¾ã«ãmakeãéãããã«ãªã£ã¦ããï¼Macã ã¨ï¼æ¡å¼µåã.soãããªãã¦.oã§åºæ¥ä¸ããã¿ããï¼Rubyã®æ¡å¼µã©ã¤ãã©ãªã®æ¸ãæ¹ã¯ï¼Rubyã®ã½ã¼ã¹ãå±éãããã£ã¬ã¯ããªã«ããREADME.EXT.jaãhttp://i.loveruby.net/w/Rubyâ¦
takuto_hã®æ¥è¨ ããã¯åãï¼é«æ ¡çã§ï¼ãããããªãã¨ãã£ã¦ããªãã¦ç¾¨ã¾ãããªãï¼ "ããã"ãããªãã¦"ãããã"ãªã®ãï¼ ã¨ããã§ï¼ã©ããªè¨èªãªãã ããï¼ Cyanã®ãã£ã¨ã大ããªç¹å¾´ã¯ãLispã®Så¼ã¨ãã¯ãã®åé¢ã試ã¿ããã¨ã§ãã http://d.hatena.ne.â¦
gosh> #\page #\x0c gosh> #\tab #\tab gosh> #\lf #\newline gosh> #\cr #\return gosh> #\nul #\null gosh> #\sp #\space gosh> ä»æ¥ã®çºè¦ï¼ #\pageã ãæååã§è¡¨ç¤ºãããªãï¼ ãªãã¡ã¬ã³ã¹ã«ã¯æ¸ãã¦ããªããï¼#\spã¨#\nulã使ããï¼ R5RSã§å®ç¾©ããã¦â¦