AbstractInstances.jl

A package for making concrete instances of abstract types
Author dalum
Popularity
0 Stars
Updated Last
4 Years 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