Browse Source

Fixed associativity of ::: alias

Getty Ritter 9 years ago
parent
commit
a7f4f6638a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Data/SCargot/Repr/Basic.hs

+ 2 - 0
Data/SCargot/Repr/Basic.hs

@@ -21,6 +21,8 @@ module Data.SCargot.Repr.Basic
 import Control.Applicative ((<$>), (<*>), pure)
 import Data.SCargot.Repr as R
 
+infixr 5 :::
+
 -- | A shorter infix alias for `SCons`
 pattern x ::: xs = SCons x xs