Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

   ; Define 'hello' as a function that shows you The Message.
   define hello [ "Hello, " swap string-append "!\n" string-append prints ]
   ; All hail The Message.
   "World" hello
Could this just be written as?:

   "Hello, World!\n" prints
The example seemed a little convoluted to me.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: