Created
July 24, 2019 01:31
-
-
Save dmwit/dfcfda7cb79a14a9ed8084dae61df311 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Test.hs | |
{-# LANGUAGE PatternSynonyms #-} | |
module Test (Foo(Bar,Baz)) where | |
data Foo = Bar | |
pattern Baz = Bar | |
-- whatever-else.hs | |
import Test (Foo(Baz)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment