cl-cookbook icon indicating copy to clipboard operation
cl-cookbook copied to clipboard

Type System Chapter.

Open commander-trashdin opened this issue 5 years ago • 1 comments

I'm not sure, which is why this is an issue instead of commit.

Complex types involving satisfies are not checked inside a function body, only at its boundaries.

(it's somewhere at the end). Okay, so the example after that does not involve any type decl, that has satisfies. What's even more important, nothing satisfies is checked at compile time, because there can be pretty much any function in there, so it is impossible. This is strictly runtime only. This part needs rewriting, I'll try to think about it myself as well.

commander-trashdin avatar Apr 26 '20 23:04 commander-trashdin

You are right:

  • this parts needs rewriting and more insight
  • the paragraph mentions "satisfies" and the example doesn't involve one.

I think that the example has a point about static type checks happening more (better term?) at the functions' boundaries.

vindarel avatar Apr 27 '20 17:04 vindarel