Search found 3 matches

by Szymon
Wed Nov 26, 2008 3:26 am
Forum: Common Lisp
Topic: Please help my head get around 'deftype'
Replies: 23
Views: 44427

Re: Please help my head get around 'deftype'

[...] 2. A way to define a function signature type. For instance, a type that represents the class of all functions that take two number arguments. [...] (deftype functions-that-take-two-number-arguments () (quote (function (number number) t))) examples: CL-USER> (deftype functions-that-take-two-ar...