version | 1.1.2 |
license | BSD3 |
native-modules | False |
elm-version | 0.18.0 <= v < 0.19.0 |
Tag | 1.1.2 |
Committed At | 2018-03-17 15:38:21 UTC |
elm-lang/core | 5.1.1 <= v < 6.0.0 | 5.1.1 |
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.
import Debug.Watch as Debug
x =
Debug.watch "add one" addOne 5
results in a console log of
add one : 5
-> : 6