reitit

jmckitrick 2024-08-12T11:52:58.794729Z

Just curious, what’s the meaning of the naming convention used in (I believe) reitit and malli, with ? before symbol names? Like ?foo ?

Thomas Moerman 2024-08-12T12:15:55.757479Z

I think: "coerceable into foo"

➕ 1
jmckitrick 2024-08-12T12:16:11.028779Z

Ahhh ok. Makes sense.

adi 2024-08-12T15:20:31.429109Z

I read prefixed ? as a "maybe". This is symmetric to predicate notation having interrogative postfix ?. ?foo => maybe a foo foo? => does foo exist? (foo? ?foo) => maybe truthy or falsey.