Skip to content

vnovick/reason-bootcamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a repo complimentory to the following 4 days Bootcamp

Slides

Installation

  • Install reason-cli cause we will be using rtop
  • yarn global add bs-platform - Install Bucklescript in order to compile ReasonML to JavaScript
  • Init our project with bsb -init my-new-project -theme basic-reason
  • Add to existing project yarn add --dev bs-platform
  • Run bucklescript in watch mode bsb -make-world -w

Docs

Try out ReasonML in rtop/playground

Editor integration

We will use VSCode as editor of our choice.

Day1

  • Values
  • Bindings and scopes
  • tupples
  • records
  • variants
  • pattern matching

Excercise

Day2

  • loops
  • functions
  • arrays
  • lists
  • modules

Excercise

Day3

  • modules
  • functors
  • JS interop
  • Bucklescript

Day4

  • Recap
  • Continue with Bucklescript
  • Bucklescript build system
  • ReasonReact