Home
Steps
Try
Home
Steps
Try
Steps
Steps to learning Reason OCaml
Modules
What are Modules? Modules group related methods, exceptions and types into a package. In addition, Reason provides module interfaces that…
Read more…
Myer Nore
14 March, 2018 - 6 min read
Maps
What are Maps? In many applications it becomes necessary to look up a Record , Object or other data structure by a unique identifier…
Read more…
Myer Nore
06 March, 2018 - 5 min read
Objects
How is an Object different from a Record? Here is an example that declares a Record and compares it with the equivalent Object definition…
Read more…
Myer Nore
02 March, 2018 - 2 min read
Variants
Variants are case constants for switch statements. A Variant is a set of mutually exclusive cases to choose from. The expression creates a…
Read more…
Myer Nore
25 February, 2018 - 5 min read
Records
Intro to Record Types A Record is a declaration of a new datastructure with certain fixed attributes. To make a new Record type, use the…
Read more…
Myer Nore
23 February, 2018 - 3 min read
Reason Lists
Intro to Lists A list in Reason OCaml is a linked list . A List is divided into a single-element and the rest of the list, called the…
Read more…
Myer Nore
10 December, 2017 - 7 min read
Pattern Matching Intro
Pattern Matching / Switch Consider the factorial function from the last post : While an if/else or ternary expression works just fine for…
Read more…
Myer Nore
03 December, 2017 - 4 min read
Names and Functions
When getting started writing functions, it is very helpful to use rtop locally, which is Reason's R ead E val P rint L oop (REPL…
Read more…
Myer Nore
19 November, 2017 - 3 min read
Getting Started
About Gradus Reason Welcome to Gradus Reason . This site is a place to learn the Reason OCaml language. The name Gradus is a reference…
Read more…
Myer Nore
13 November, 2017 - 4 min read
Floats vs Ints
Integers and Floating Points Recall the cube function: When we declared the function, Reason decided that it would take an and return…
Read more…
Myer Nore
01 January, 2017 - 1 min read
1
2
3
...
10
Tags
booleans (1)
conditionals (1)
floats (1)
fold-left (1)
functions (1)
functors (2)
hashtables (1)
j-string-interpolation (1)
json (1)
lists (1)
maps (1)
meta (1)
modules (1)
objects (1)
operator-precedence (1)
pattern-matching (1)
records (3)
rtop (2)
variants (2)