From 96b5b23c67629a8ca0dd7a03cc33196098514cc9 Mon Sep 17 00:00:00 2001 From: RandomHashTags Date: Sun, 6 Oct 2024 02:46:45 -0500 Subject: [PATCH] update README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d60649..42efd84 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,15 @@ Write HTML using Swift Macros. + +Requires at least Swift 5.9 Apache 2.0 License + - [Why?](#why) - [Examples](#examples) - [Basic](#basic) - [Advanced](#advanced) - [Benchmarks](#benchmarks) + - [Conclusion](#conclusion) +- [Contributing](#contributing) +- [Funding](#funding) ## Why? - Swift Macros are powerful and offer performance benefits @@ -77,7 +83,7 @@ Using String Interpolation. let string:String = "any string value", integer:Int = -69, float:Float = 3.14159 // ✅ DO -let _:String = #p(["\(string) \(integer); \(float)"]) +let _:String = #p(["\(string); \(integer); \(float)"]) // ❌ DON'T let _:String = #p([string, "; ", String(describing: integer), "; ", float.description])