aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/ImplicitParams.hs
blob: 4595b8f718e5623f6711d2354d86b553b7c5ebd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE ImplicitParams #-}
module ImplicitParams where

data X

c :: (?x :: X) => X
c = ?x

d :: (?x :: X, ?y :: X) => (X, X)
d = (?x, ?y)