4main = do Just buf <- newBuffer 40
6 setInt buf 5 (-1024567890)
7 setInt buf 36 1034567890
8 setString buf 20 "Hello world!"
10 printLn !(bufferData buf)
12 setDouble buf 10 123.456
19 val <- getDouble buf 10
24 val <- getInt buf 37 -- out of bounds, expect 0
27 str <- getString buf 20 10
29 str <- getString buf 20 12
31 str <- getString buf 200 12 -- out of bounds, expect ""
33 str <- getString buf 35 12 -- out of bounds, expect ""
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