f-underscore

API Reference

f-underscore

a tiny library of functional programming utils placed into the public domain. the idea is to make functional programs shorter and easier to read without resorting to syntax [like arc's square bracket unary function syntax]

F-UNDERSCORE

  • Macro F (args &body body)
    a synonym for LAMBDA
  • Macro F0 (&body body)
    a LAMBDA that takes 0 arguments (aka a 'thunk')
  • Macro F_ (&body body)
    a LAMBDA that takes 1 argument: `_'
  • Macro F_N (&body body)
    a LAMBDA that takes 1 &REST argument: `_'
  • Macro F_% (&body body)
    a LAMBDA that takes 1 &REST that it ignores
  • Macro M (macro-lambda-list &body body)
    a LAMBDA that has a macro-lambda-list instead of an ordinary lambda-list