Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions doc/src/manual/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ of function arguments that are containers of abstract types; see [Performance Ti
## Primitive Types

!!! warning
It is almost always preferable to wrap an existing primitive type in a new
composite type than to define your own primitive type.
It is almost always preferable to wrap an existing primitive type in a new
composite type than to define your own primitive type.

This functionality exists to allow Julia to bootstrap the standard primitive
types that LLVM supports. Once they are defined, there is very little reason
to define more.
This functionality exists to allow Julia to bootstrap the standard primitive
types that LLVM supports. Once they are defined, there is very little reason
to define more.

A primitive type is a concrete type whose data consists of plain old bits. Classic examples of primitive
types are integers and floating-point values. Unlike most languages, Julia lets you declare your
Expand Down