From ca0e35bc01b8bc73e1666c4f20114f9d27f7363c Mon Sep 17 00:00:00 2001 From: Sergei Winitzki Date: Mon, 21 Oct 2019 15:46:17 -0700 Subject: [PATCH] Make code similar to Haskell https://github.com/hmemcpy/milewski-ctfp-pdf/issues/174 --- src/content/1.9/code/scala/snippet04.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/1.9/code/scala/snippet04.scala b/src/content/1.9/code/scala/snippet04.scala index 9bcf6c9..1dd8bea 100644 --- a/src/content/1.9/code/scala/snippet04.scala +++ b/src/content/1.9/code/scala/snippet04.scala @@ -1,2 +1,2 @@ -val catstrᛌ: String => String => String = - s => s1 => s ++ s1 \ No newline at end of file +def catstr_prime(s: String): String => String = + s1 => s ++ s1