aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2022-05-10 17:23:19 +0200
committerTom Smeding <tom@tomsmeding.com>2022-05-10 17:23:19 +0200
commit61f51b6af68aa1bd4cdfd7970067dfce037ddf2e (patch)
tree54817d65b0720834794390fa4e3b6a7ce8cca3c4
parent2cb06be136dfb345807fd8a6c6bf79d5d78e48e0 (diff)
Less TypeApplicationsHEADmaster
-rw-r--r--Main.hs3
1 files changed, 1 insertions, 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 ()