3 ms·
The CL convention would be to have a function called bar that converts whatever its argument into an instance of bar. Make it generic and new libraries can easi
by ruricolist 4y ago
The CL convention would be to have a function called bar that converts whatever its argument into an instance of bar. Make it generic and new libraries can easily add their own conversions for their own data types.
- lisper 4y agoMy personal convention is to call such a generic function ->bar to make it clear that what it does is coerce its argument to a different type.