top | item 37069035

(no title)

Per_Bothner | 2 years ago

Or Kawa:

    (if (? p::Point obj)
      (... p:x p:y))
This succeeds if obj matches the pattern p::Point, declaring p to be the value of obj coerced to a Point. This is integrated with Kawa's static type-checking/inference.

https://www.gnu.org/software/kawa/Conditionals.html

discuss

order

No comments yet.