fork(1) download
  1. (deftemplate Book_Info
  2. "Template to store information about books"
  3. (slot Book_title)
  4. (slot Author_name)
  5. (slot Publisher_name)
  6. (slot Edition))
  7.  
  8. ;Assert facts for books
  9. (assert (Book_Info
  10. (Book_title "The Road")
  11. (Author_name "Cormac McCarthy")
  12. (Publisher_name "Alfred A.Knopf")
  13. (Edition "1st")))
  14. ; empty line at the end
  15.  
  16. (reset)
  17.  
  18. (run)
  19.  
  20. (exit)
  21. ; empty line at the end
Success #stdin #stdout 0.01s 5312KB
stdin
1
2
10
42
11
stdout
Standard output is empty