Clojureã®coreã©ã¤ãã©ãªã®ä¸ã§ããæ¥å¸¸ã§æ¯è¼ç使ããããªIOç³»ã®é¢æ°ãã¡ãã£ã¨èª¿ã¹ã¦ã¿ã¾ããã read-line æ¨æºå ¥åãã1è¡èªã¿è¾¼ã¿ã¾ãã以ä¸ããµã³ãã«ã (print "type keyword => ") (flush) (def line (read-line)) (print (str "Your typed => " line)) (newline) flushã¯æ¨æºåºåããã©ãã·ã¥ããé¢æ°ãnewlineã¯æ¨æºåºåã«æ¹è¡ãåºåããé¢æ°ã§ãããããå®è¡ããã¨ã以ä¸ã®ãããªå®è¡çµæã¨ãªãã¾ãã type keyword => ããã«ã¡ã¯ãä¸ç Your typed => ããã«ã¡ã¯ãä¸ç type keyword =>ã®å¾ã«ç¶ãã¦ãããããã«ã¡ã¯ãä¸çãã¯ããã¡ããèªåã§å ¥åãããã®ã§ãã ãªããå¤æ°lineã«ãã®æå ¥åãããæååãæç¸ãã¦ãã¾ãã spit ã
{{#tags}}- {{label}}
{{/tags}}