/reasonml-experiments

Reasoning about ReasonML

Primary LanguageReason

reason-experiments

Notes

Init a new project

bsb -init my-new-project -theme basic-reason

Types

Int and Float

To force a operation to float, for example +, you can pass a . to the operator like +..

Operators

Pipe Operator

-> Good Video Explanation

You can use -> to pipe the result of the previous function to the first argument of the next function

You can use _ to specify what argument of the function the value should be forwarded to

You can use |> to pipe the result of the previous function to the last argument of the next function

Resources