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
8 changes: 0 additions & 8 deletions src/KnownProperties.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,3 @@ ERROR: MethodError: no method matching is_known(::typeof(dim), ::AbstractAlgebra
```
"""
function is_known end

# A generic implementation to look up attributes. This can be used to implement
# `is_known` for a specific type of arguments of unary functions.
function _is_known_via_attributes(f::Function, x::Any)
@req is_attribute_storing(x) "objects of type $(typeof(x)) do not support attribute storage"
return has_attribute(x, nameof(f))
end

Loading