Fundamental Types - CAST to HAC Migration Guide
Description: CAST to HAC Migration Guide

Next: User-defined Types, Up: Types

### 2.1 Fundamental Types

The names of the primitive types have changed. Types that correspond to compile-time meta parameters are prefixed with `p', such as `pint` and `pbool`.

Here is a summary of changes in fundmental types from CAST (first column) to HAC (second column).

CAST | HAC
--- | ---
`node` | `bool`
N/A | `int`
`int` | `pint`
`bool` | `pbool`
N/A | `preal`

The new types `preal` and `int` are explained in the HAC language reference.