Implementing Higher Order Functions on Top of LLVM
Posted by ApochPiQ,
07 April 2013
·
274 views
One of my favorite features of the Epoch programming language is the inclusion of first-class higher order functions:apply : (thefunction : ){ thefunction()}apply : string param, (thefunction : string -> string) -> string ret = thefunction(param)mutate : string param -> string ret = param ; " foo"entrypoint :{ string s = apply("test", m...
Create a custom theme