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.26.0 lib/rouge/demos/hylang
rouge-3.25.0 lib/rouge/demos/hylang
rouge-3.24.0 lib/rouge/demos/hylang
rouge-3.23.0 lib/rouge/demos/hylang
rouge-3.22.0 lib/rouge/demos/hylang
rouge-3.21.0 lib/rouge/demos/hylang
rouge-3.20.0 lib/rouge/demos/hylang
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/rouge-2.2.1/lib/rouge/demos/hylang
rouge-3.19.0 lib/rouge/demos/hylang
rouge-3.18.0 lib/rouge/demos/hylang
rouge-3.17.0 lib/rouge/demos/hylang
rouge-3.16.0 lib/rouge/demos/hylang
rouge-3.15.0 lib/rouge/demos/hylang
rouge-3.14.0 lib/rouge/demos/hylang
rouge-3.13.0 lib/rouge/demos/hylang
rouge-3.12.0 lib/rouge/demos/hylang
rouge-3.11.1 lib/rouge/demos/hylang
rouge-3.11.0 lib/rouge/demos/hylang
rouge-3.10.0 lib/rouge/demos/hylang
rouge-3.9.0 lib/rouge/demos/hylang