Common Lisp 是否有类似 java 的 Set Interface/implementing classes 的东西?

Does Common Lisp have a something like java#39;s Set Interface/implementing classes?(Common Lisp 是否有类似 java 的 Set Interface/implementing classes 的东西?)

本文介绍了Common Lisp 是否有类似 java 的 Set Interface/implementing classes 的东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I need something like this, a collection of elements which contains no duplicates of any element. Does Common Lisp, specifically SBCL, have any thing like this?

解决方案

Look at cl-containers. There is a set-container class.

这篇关于Common Lisp 是否有类似 java 的 Set Interface/implementing classes 的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:Common Lisp 是否有类似 java 的 Set Interface/implementing classes 的东西?

基础教程推荐