Skip to content

Latest commit

 

History

History
81 lines (66 loc) · 1.69 KB

babel.org

File metadata and controls

81 lines (66 loc) · 1.69 KB

Babel Tests

Ignore Block

(error "This wasn't supposed to happen")

Detect Direction

(message "I begin")
(message "I can go backwards")
(message "I am a vector setting for going either way")
(message "I am a quoted list setting for going either way")
(message "I can go forwards")
(message "I can go forwards, but I am never evaluated")
(message "I am the end")

Warn on Legacy

(message "I begin but I do warn")
(message "I go backward, but I do warn")
(message "I go forward, but I do warn")

Hidden

Results Only

Push Step

This block will take one extra step, due to the non-nil return value

(message "I can go forwards")
(dslide-push-step
 (lambda (direction)
   (prog1 t
     (message "going %s" direction))))

Next Slide

Did the previous slide take an extra step?

Failure

(+ 3 'a)