AbstractInstances.jl

A package for making concrete instances of abstract types
Author dalum
Popularity
1 Star
Updated Last
1 Year Ago
Started In
November 2018

AbstractInstances.jl

Build Status codecov

A package for making concrete instances of abstract types.

Usage

julia> using AbstractInstances

julia> AbstractInstances.oftype(Number) isa Number
true

julia> AbstractInstances.oftype(Number) === AbstractInstances.oftype(Number)
false

julia> AbstractInstances.singleton(Number) isa Number
true

julia> AbstractInstances.singleton(Number) === AbstractInstances.singleton(Number)
true