git.iko.soy/rowtype-yoga/purescript-native
on edcefcb help sign in
25 lines 653 B history raw
1-----------------------------------------------------------------------------
2--
3-- Module : Language.PureScript.Parser.Comments
4-- Copyright : (c) Phil Freeman 2015
5-- License : MIT
6--
7-- Maintainer : Phil Freeman <paf31@cantab.net>
8-- Stability : experimental
9-- Portability :
10--
11-- |
12-- Defines the types of source code comments
13--
14-----------------------------------------------------------------------------
16{-# LANGUAGE DeriveDataTypeable #-}
18module Language.PureScript.Comments where
20import qualified Data.Data as D
22data Comment
23 = LineComment String
24 | BlockComment String
25 deriving (Show, Eq, Ord, D.Data, D.Typeable)