Liking cljdoc? Tell your friends :D

debug.macro


defn-generate-testclj/smacro

(defn-generate-test fn-name args & body)

Wrap function definition that output a test definition for real data

Usage:

-(defn my-function
+(defn-generate-test my-function
   [arg]
   (do-stuff arg))
Wrap function definition that output a test definition for real data

Usage:

```diff
-(defn my-function
+(defn-generate-test my-function
   [arg]
   (do-stuff arg))
```
sourceraw docstring

defn-groupclj/smacro

(defn-group fn-name & decls)

Wrap function definition console group

Usage:

-(defn my-function
+(defn-group my-function
   [arg]
   (do-stuff arg))
Wrap function definition console group

Usage:

```diff
-(defn my-function
+(defn-group my-function
   [arg]
   (do-stuff arg))
```
sourceraw docstring

defn-group-ioclj/smacro

(defn-group-io fn-name & decls)

Wrap function definition console group and log input and output

Usage:

-(defn my-function
+(defn-group-io my-function
   [arg]
   (do-stuff arg))
Wrap function definition console group and log input and output

Usage:

```diff
-(defn my-function
+(defn-group-io my-function
   [arg]
   (do-stuff arg))
```
sourceraw docstring

defn-ioclj/smacro

(defn-io fn-name & decls)

Log input and output of a function definition

Usage:

-(defn my-function
+(defn-io my-function
   [arg]
   (do-stuff arg))
Log input and output of a function definition

Usage:

```diff
-(defn my-function
+(defn-io my-function
   [arg]
   (do-stuff arg))
```
sourceraw docstring

fn-groupclj/smacro

(fn-group label args & body)

Wrap function console group

Usage:

-(fn
+(fn-group "some label to help while debugging"
   [arg]
   (do-stuff arg))
Wrap function console group

Usage:

```diff
-(fn
+(fn-group "some label to help while debugging"
   [arg]
   (do-stuff arg))
```
sourceraw docstring

fn-group-ioclj/smacro

(fn-group-io label args & body)

Wrap function console group and log input and output

Usage:

-(fn
+(fn-group-io "some label to help while debugging"
   [arg]
   (do-stuff arg))
Wrap function console group and log input and output

Usage:

```diff
-(fn
+(fn-group-io "some label to help while debugging"
   [arg]
   (do-stuff arg))
```
sourceraw docstring

fn-inputclj/smacro

(fn-input label args & body)

Log input of a function

Usage:

-(fn
+(fn-input "some label to help while debugging"
   [arg]
   (do-stuff arg))
Log input of a function

Usage:

```diff
-(fn
+(fn-input "some label to help while debugging"
   [arg]
   (do-stuff arg))
```
sourceraw docstring

fn-ioclj/smacro

(fn-io label args & body)

Log input and output of a function

Usage:

-(fn
+(fn-io "some label to help while debugging"
   [arg]
   (do-stuff arg))
Log input and output of a function

Usage:

```diff
-(fn
+(fn-io "some label to help while debugging"
   [arg]
   (do-stuff arg))
```
sourceraw docstring

fn-outputclj/smacro

(fn-output label args & body)

Log output of a function

Usage:

-(fn
+(fn-output "some label to help while debugging"
   [arg]
   (do-stuff arg))
Log output of a function

Usage:

```diff
-(fn
+(fn-output "some label to help while debugging"
   [arg]
   (do-stuff arg))
```
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close