Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Go point-free in second API example
  • Loading branch information
rcook committed Aug 20, 2016
commit c1564a7bd938c4a61e1963ba6903678b24c1b9af
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ main = do
let root = translationUnitCursor tu
children = cursorChildren root
functionDecls = filter (\c -> cursorKind c == FunctionDecl) children
forM_ functionDecls $ \f -> print $ cursorSpelling f
forM_ functionDecls (print . cursorSpelling)
```

[libclang]: http://clang.llvm.org/doxygen/group__CINDEX.html