gdalle / CheckConcreteStructs.jl

https://gdalle.github.io/CheckConcreteStructs.jl/
MIT License
5 stars 2 forks source link
julia types

CheckConcreteStructs.jl

Build Status Dev Documentation Coverage Code Style: Blue

Faulty or missing type declarations, especially for struct fields, are a common performance pitfall in Julia. This package allows you to check that the structs you work with have concretely-typed fields.

Getting started

You can install CheckConcreteStructs.jl from the GitHub URL:

using Pkg
Pkg.add(url="https://github.com/gdalle/CheckConcreteStructs.jl")

The main exports of this package are:

Please read their docstrings for examples.

Related packages

ConcreteStructs.jl exports a macro @concrete which adds all the necessary type parameters to a struct definition. In other words: