5%dynamic "./nativetypes.so"
8sizeOfSizeT = foreign FFI_C "sizeof_size_t" (IO Int)
11data NativeTypeSize = OneByte | TwoBytes | FourBytes | EightBytes
13Show NativeTypeSize where
14 show OneByte = "1 byte"
15 show TwoBytes = "2 bytes"
16 show FourBytes = "4 bytes"
17 show EightBytes = "8 bytes"
19bytesToType : Int -> Provider NativeTypeSize
20bytesToType 1 = Provide OneByte
21bytesToType 2 = Provide TwoBytes
22bytesToType 4 = Provide FourBytes
23bytesToType 8 = Provide EightBytes
24bytesToType _ = Error "Unsupported size"
26getSizeOfSizeT : IO (Provider NativeTypeSize)
27getSizeOfSizeT = map bytesToType sizeOfSizeT
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