From 0fb5fa751130455fae25c408ec6c0a214fbb29b4 Mon Sep 17 00:00:00 2001 From: Adam Warski Date: Fri, 12 Jan 2024 17:35:41 +0100 Subject: [PATCH] Update readme.md Closes #511 --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 43677451..b0647bb6 100644 --- a/readme.md +++ b/readme.md @@ -41,7 +41,7 @@ Creating a generic derivation with Magnolia requires implementing two methods on ### Example derivations -There are many examples in the [`src/examples`](src/examples) folder. +There are many examples in the [`examples`](examples/src/main/scala/magnolia1/examples) sub-project. The definition of a `Print` typeclass with generic derivation might look like this (note we're using the [Lambda syntax for Single Abstract Method types](https://www.scala-lang.org/news/2.12.0/#lambda-syntax-for-sam-types)