Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Latest commit

 

History

History
22 lines (17 loc) · 856 Bytes

migrations.md

File metadata and controls

22 lines (17 loc) · 856 Bytes

Migrations

Looking at their last parameter, migrations are always functions of the following form:

A -> A

Migrations are basically "mutations" on objects. Migrations take an object structure as their last parameter and return a new object of the same shape, but with some mutations performed on it.

Available migrations