6get_allocation_size : Ptr -> IO Int
7get_allocation_size = foreign FFI_C "get_allocation_size" (Ptr -> IO Int)
11-- As `commen_call` is a partial function and not inline, Idris should complain.
15common_call : String -> Int -> IO ManagedPtr
21 len <- get_allocation_size ptr
22 pure (prim__registerPtr ptr len)
24func_foo : IO ManagedPtr
25func_foo = common_call "foo" 4
27func_bar : IO ManagedPtr
28func_bar = common_call "bar" 8
37 printLn "I should be seen."
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