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