From 61f51b6af68aa1bd4cdfd7970067dfce037ddf2e Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Tue, 10 May 2022 17:23:19 +0200 Subject: Less TypeApplications --- Main.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Main.hs b/Main.hs index d1995e1..74b798d 100644 --- a/Main.hs +++ b/Main.hs @@ -1,5 +1,4 @@ {-# LANGUAGE TemplateHaskell #-} -{-# LANGUAGE TypeApplications #-} module Main where import Foo @@ -10,5 +9,5 @@ data T a = T a main :: IO () main = do - let x = $$(foo @(T Int) [|| T 1 ||]) + let x = $$(foo [|| T () ||]) return () -- cgit v1.2.3-54-g00ecf