The beep! Expression

Syntax

  beep! <unary expression>

Description

The beep! command allows you to debug a partial expression value, logging its value to the console and otherwise acting like an identity function: it simply returns the inner value it logs. This allows you to insert a beep! into an expression without disrupting its evaluation.

Examples

add .highlighted to the <p/> in beep! <div.highlight/> -- logs the result of <div.highlight/>
add .highlighted to beep! the <p/> in <div.highlight/> -- logs the result of the <p/> in <div.highlight/>