summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/proposal-229a.hs
blob: c773cee3a2a233732e173124da53877f867d1d10 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE BangPatterns #-}

module Proposal229a where

data T a b = a :! b

(!) :: x -> T a b -> (x, a, b)
~u ! !(!m :! !n) = (u, m, n)