2{-| This library is for investigating bugs or performance problems. It should
3*not* be used in production code.
8import Graphics.Element (Element)
11{-| Log a tagged value on the developer console, and then return the value.
13 1 + log "number" 1 -- equals 2, logs "number: 1"
14 length (log "start" []) -- equals 0, logs "start: []"
16Notice that `log` is not a pure function! It should *only* be used for
17investigating bugs or performance problems.
22{-| Watch a particular value in the reactive debugger.
24watch : String -> a -> a
25watch = Native.Debug.watch
27{-| Watch a particular value in the reactive debugger.
29watchSummary : String -> (a -> b) -> a -> a
30watchSummary = Native.Debug.watchSummary
32{-| Trace an Element over time in the reactive debugger.
34trace : String -> Element -> Element
35trace = Native.Debug.tracePath
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list