mikolak-net / option-assign

An experiment in making `Option` types a little more explicit "first-class" default type over the dreaded nullable definition, via way of syntax extensions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option Assign

What

An experiment in making Option types a little more explicit "first-class" default type over the dreaded nullable definition, via way of syntax extensions.

How

There are currently two variants, obtainable via:

  • git checkout assign_operator

  • git checkout question_mark

Each one has a README listing:

  • example code,

  • usage instructions.

Also, each one has their limitations. Experimentation, breaking things, encouraged.

About

An experiment in making `Option` types a little more explicit "first-class" default type over the dreaded nullable definition, via way of syntax extensions.


Languages

Language:Scala 100.0%