Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pastrami_panda
on Dec 11, 2022
|
parent
|
context
|
favorite
| on:
Beyond Functional Programming: The Verse Programmi...
Reading half of it I'm struggling to see why they chose the semantic 'false?'. How do you read it? It sounds like a question, why not just 'false'?
u320
on Dec 12, 2022
[–]
AFAICT: Just "false" would be a regular boolean value. The question mark turns it into a logic value so it can be used in conditionals.
pastrami_panda
on Dec 12, 2022
|
parent
[–]
But there are no bools in Verse so seems the keyword isn't taken and could have just been syntactic sugar for 0 from what I can tell?
u320
on Dec 12, 2022
|
root
|
parent
[–]
There are no bools in Verse conditionals. That doesn't mean that there are no bools in the language at all.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: