function - 引用 Scheme 中的列表时出错,使用 `define` 函数命名
问题描述
我在 Scheme 中使用define
. 我试过了
(define aList (list 0 16 19))
(list-ref ‘(aList) 1)
但它说“错误:aList
不是函数”。为什么?请帮忙。
解决方案
推荐阅读
- javascript - e.pageX 和 pageY 将工具提示放在一个奇怪的区域
- c++ - boost asio tcp socket 1.70 不向后兼容
- php - 无法从 php 执行的 shell 脚本正确挂载加密分区
- python - 在 pandas 中使用字典作为条件
- jmeter - 使用 UDP 的桌面应用程序的性能测试
- c++ - 来自不同翻译单元的 consteval 函数会干扰吗?
- javascript - 如何在不更改现有值的情况下使用相同的名称设置属性
- javascript - vue发送param值,声明发送哪个param
- java - Spring Security 使多个应用程序上的 http 会话无效?
- c# - 该脚本缺少一个复选框