Skip to main content

2 docs tagged with "optional"

View All Tags

Option

Optional values are specified using the type `Option t`, where `t` is some type. The `Option` ADT has two constructors:

Safe multiplication

When your are working with numbers in any programming language you are subject to overflows. An overflow happens when the value of number is bigger than the maximum possible value offered by the machine.