Sha256: 8446cbb499a7b0bc78cc95d0e0179ec7eb13b5fd4615888682bdbf97bd7398a3

Contents?: true

Size: 344 Bytes

Versions: 63

Compression:

Stored size: 344 Bytes

Contents

(defn simple-conversation []
   (print "Hello!  I'd like to get to know you.  Tell me about yourself!")
   (setv name (input "What is your name? "))
   (let [age (input "What is your age? ")]
     (if (and age
              name)
       (print (+ "Hello " name "!  I see you are "
                 age " years old.")))))

(simple-conversation)

Version data entries

63 entries across 63 versions & 8 rubygems

Version Path
rouge-3.8.0 lib/rouge/demos/hylang
rouge-3.7.0 lib/rouge/demos/hylang
rouge-3.6.0 lib/rouge/demos/hylang
rouge-3.5.1 lib/rouge/demos/hylang
rouge-3.5.0 lib/rouge/demos/hylang
rouge-3.4.1 lib/rouge/demos/hylang
rouge-3.4.0 lib/rouge/demos/hylang
rouge-alda-3.3.0 lib/rouge/demos/hylang
rouge-3.3.0 lib/rouge/demos/hylang
rouge-3.2.1 lib/rouge/demos/hylang
rouge-3.2.0 lib/rouge/demos/hylang
rouge-lines-3.2.3 lib/rouge-lines/demos/hylang
rouge_ecl-1.0.0 lib/rouge/demos/hylang
rouge_ecl-0.0.1 lib/rouge/demos/hylang
rouge-3.1.1 lib/rouge/demos/hylang
rouge-3.1.0 lib/rouge/demos/hylang
rouge-3.0.0 lib/rouge/demos/hylang
rouge-2.2.1 lib/rouge/demos/hylang
rouge-2.2.0 lib/rouge/demos/hylang
rougegal-2.1.2 lib/rouge/demos/hylang