Common Lisp 是否有类似 java 的 Set Interface/implementing classes 的东西? [英] Does Common Lisp have a something like java's Set Interface/implementing classes?

查看:28
本文介绍了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 的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆