From 01070b636acd3f04c11edbd657c2925f27905f4c Mon Sep 17 00:00:00 2001 From: Micah Rufsvold <86363075+mrufsvold@users.noreply.github.com> Date: Fri, 31 May 2024 09:57:59 -0400 Subject: [PATCH] amend notice to clarify the usefulness of other features --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2f82642..d674a24 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,12 @@ [![Codecov](https://codecov.io/gh/oxinabox/Tricks.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/oxinabox/Tricks.jl) -| ⚠️ Notice ⚠️ | -| --- | -| **Tricks.jl** is not required post-Julia v1.10.0-DEV.609. | -|The features of running `hasmethod` at compile-time are now built into the language. | -| It can still be used for compatibility with older versions of the language. | +> ## ⚠️ Notice ⚠️ +> +> `Tricks.static_hasmethod` is not required post-Julia v1.10.0-DEV.609. +> The features of running `hasmethod` at compile-time are now built into the language. +> `static_hasmethod` can still be used for compatibility with older versions of the language, and +> the other static functions provided by Tricks.jl continue to be useful. Tricks.jl is an particularly ~evil~ cunning package that does tricks with the Julia edge system. @@ -33,7 +34,6 @@ This is just like `methods`, but again it doesn't trigger any dynamic lookup of Just like `Base.fieldnames` `Base.fieldtypes`, and `Base.fieldcount` but will participate in constant propagation and will be free of runtime dynamism. - ## Uses ### We can use `static_hasmethod` to declare traits. For demonstration we include versions based on static and nonstatic `has_method`.