From: Michael Orlitzky Date: Tue, 5 Mar 2019 01:06:36 +0000 (-0500) Subject: src/Misc.hs: add a type annotation to avoid a monomorphism warning. X-Git-Tag: 1.0.1~44 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=9d43550513b9602d211430283505fe810556e0c1;p=spline3.git src/Misc.hs: add a type annotation to avoid a monomorphism warning. --- diff --git a/src/Misc.hs b/src/Misc.hs index e6cd07e..83b439c 100644 --- a/src/Misc.hs +++ b/src/Misc.hs @@ -110,7 +110,7 @@ test_flatten1 = assertEqual "flatten actually works" expected_list actual_list where target = [[[1::Int]], [[2, 3]]] - expected_list = [1, 2, 3] + expected_list = [1, 2, 3] :: [Int] actual_list = flatten target