Skip to content

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

License

Notifications You must be signed in to change notification settings

mdgriffith/elm-debug-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

import Debug.Watch as Debug

x =
    Debug.watch "add one" addOne 5

results in a console log of

add one : 5
     -> : 6

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages