Documentation

Funk2 is not yet completely documented. Please see the new Funk2 Wiki on GitHub for tutorials on downloading, installation, and programming techniques! The examples on the lower left sidebar of this page give more specific examples of how Funk2 can be used. Here, we have used Funk2's introspective functionality in order to print all object types and how those objects can be used. There are three primary ways of interactive with objects once they have been created: get, set, and execute.

[globalize a `[44 20 51 165]]

[get a car]

[get a cdr]

[set a car 'a string']

[have a sort &>]

In the short example above, we have defined a global variable named a that stores a list of numbers. Then, we get the car and cdr slot values of this object, like in the Lisp programming language. Finally, we execute the sort funk and give it the > comparison function.

Packages

All Object Types