## Function: COMMON-LISP:LDIFF [![package](https://img.shields.io/badge/Package-COMMON--LISP-5f9ea0.svg?style=social&colorA=999999)](../) [![type](https://img.shields.io/badge/Type-Function-5f9ea0.svg?style=social&colorA=999999)](../#function) [![clhs](https://img.shields.io/badge/CLHS-LDIFF-5f9ea0.svg?style=social&colorA=999999)](http://www.lispworks.com/documentation/HyperSpec/Body/f_ldiffc.htm) [![github](https://img.shields.io/badge/GitHub-View_the_source-5f9ea0.svg?style=social&colorA=999999&logo=github)](https://github.com/sbcl/sbcl/blob/master/src/code/list.lisp/) > Return a new list, whose elements are those of LIST that appear before > OBJECT. If OBJECT is not a tail of LIST, a copy of LIST is returned. > LIST must be a proper list or a dotted list. ### Lambda list ```cl (list sb-impl::object) ```