Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> lisp >> cl-trivial-features
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: trivial-features  ]

套件: cl-trivial-features (20200115.git9d1d659-1)

abstraction layer for the *FEATURES* across Common Lisp implementations

trivial-features ensures consistent *FEATURES* across multiple Common Lisp implementations.

For example, on MacOS X platforms, while most Lisps push `:DARWIN` to `*FEATURES*`, CLISP and Allegro push `:MACOS` and `:MACOSX` instead, respectively. Some Lisps might not push any feature suggesting MacOS X at all. trivial-features will make sure all Lisps will have `:DARWIN` in the `*FEATURES*` list when running on MacOS X. This way, you can write

   #+darwin foo #-darwin bar

instead of

   #+(or darwin macos macosx) foo
   #-(or darwin macos macosx) bar

其他與 cl-trivial-features 有關的套件

  • 依賴
  • 推薦
  • 建議
  • rec: cl-alexandria
    collection of portable Common Lisp utilities
  • rec: cl-cffi
    Common Foreign Function Interface for Common Lisp
  • rec: cl-rt
    Common Lisp regression tester from MIT

下載 cl-trivial-features

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 9.9 kB70 kB [文件列表]