WellFormed.hs 388 B

12345678910111213141516
  1. {-# LANGUAGE PatternSynonyms #-}
  2. module Data.SCargot.Repr.WellFormed
  3. ( -- * 'WellFormedSExpr' representation
  4. R.WellFormedSExpr(..)
  5. , R.toWellFormed
  6. , R.fromWellFormed
  7. -- * Useful pattern synonyms
  8. , pattern List
  9. , pattern Atom
  10. ) where
  11. import Data.SCargot.Repr as R
  12. pattern List xs = R.WFSList xs
  13. pattern Atom a = R.WFSAtom a