Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Higher-order functions for C
C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
apply.c
apply.h
unittest.c

README.md

libapply -- Higher-order programming for C

This library is was inspired by Higher-order programming for C, a library which implements a functional-style apply() operation in C.

The original implementation only allowed functions which take long arguments. This library allows passing any POD data type.

This implementation only support x86_64 at the moment, and includes inline assembly to implement the AMD64 C calling convention.

Please fork this project if you are interested in adding i386 or other implementations.

Limitations

Only x86-64 is supported at the moment.

Hacking

Run the unit tests by doing make test.

Related Links

The Hacker News discussion.

Something went wrong with that request. Please try again.