Ecosyste.ms: Awesome
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: about 2 months ago
JSON representation
Convenience functions to log the input and output of a function.
- Host: GitHub
- URL: https://github.com/mdgriffith/elm-debug-watch
- Owner: mdgriffith
- License: bsd-3-clause
- Created: 2018-03-15T12:27:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-03-17T15:38:41.000Z (over 6 years ago)
- Last Synced: 2024-07-21T00:31:52.354Z (2 months ago)
- Language: Elm
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 Debugx =
Debug.watch "add one" addOne 5```
results in a console log of
```console
add one : 5
-> : 6
```