Adding `version` identifier to `cond-expand`

Issue #295 resolved
Takashi Kato repo owner created an issue

We have a variety of versions and each version has its enhancements. When I need to write external libraries, the difference might be crucial to make it run on different versions.

Proposal

(cond-expand
  ((version (> "0.9.11")) #| body |#)
  ((version (>= "0.9.11")) #| body |#)
  ((version (< "0.9.11")) #| body |#)
  ((version (<= "0.9.11")) #| body |#)
  ((version (= "0.9.11")) #| body |#)
  )

Comments (1)

  1. Log in to comment