
Calling the foreign code is the simplest part of using the FLI. The interface to the C function, defined using define-foreign-function , is called like any other Lisp function. In our example, the farenheit-to-celsius function takes the temperature in Farenheit as its only argument, and returns the temperature in Celsius.