An open API service indexing awesome lists of open source software.

https://github.com/mdgriffith/elm-debug-watch

Convenience functions to log the input and output of a function.
https://github.com/mdgriffith/elm-debug-watch

Last synced: over 1 year ago
JSON representation

Convenience functions to log the input and output of a function.

Awesome Lists containing this project

README

          

# elm-debug-watch

Here are some convenience functions to log the input and output of a function.

You can use it just by putting it in front of a function you’re trying to debug.

```elm
import Debug.Watch as Debug

x =
Debug.watch "add one" addOne 5

```

results in a console log of

```console
add one : 5
-> : 6
```