summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_run/LinearTypeable.hs
blob: f22d6c445a99462851075d0d37dbd5faa1eac848 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE LinearTypes, TypeOperators #-}
module Main (main) where

import Data.Typeable
import Data.Maybe

x :: Maybe ((Int -> Int) :~: (Int %1 -> Int))
x = eqT

main = print (isJust x)