soc.me · Jan 21, 2018
Language Design: Unified Condition Expressions – Introduction
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
Idea Replace the different syntactic forms of if statements/expressions switch on values match on patterns and pattern guards if - let constructs with a single, unified condition expression that scales from simple one-liners to complex pattern matches. Motivation Cut the different syntax options down to a single one that is still easily recognizable by users. Allow the design to scale seamlessly…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.