{-# LANGUAGE DeriveDataTypeable, DeriveGeneric, TemplateHaskell #-}
{- |URLs for JavaScript fragments
-}
module Clckwrks.JS.URL where

import Data.Data     (Data, Typeable)
import GHC.Generics  (Generic)
import Web.Routes.TH (derivePathInfo)

data JSURL
  = ClckwrksApp -- AngularJS App controller
  deriving (JSURL -> JSURL -> Bool
(JSURL -> JSURL -> Bool) -> (JSURL -> JSURL -> Bool) -> Eq JSURL
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: JSURL -> JSURL -> Bool
$c/= :: JSURL -> JSURL -> Bool
== :: JSURL -> JSURL -> Bool
$c== :: JSURL -> JSURL -> Bool
Eq, Eq JSURL
Eq JSURL
-> (JSURL -> JSURL -> Ordering)
-> (JSURL -> JSURL -> Bool)
-> (JSURL -> JSURL -> Bool)
-> (JSURL -> JSURL -> Bool)
-> (JSURL -> JSURL -> Bool)
-> (JSURL -> JSURL -> JSURL)
-> (JSURL -> JSURL -> JSURL)
-> Ord JSURL
JSURL -> JSURL -> Bool
JSURL -> JSURL -> Ordering
JSURL -> JSURL -> JSURL
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: JSURL -> JSURL -> JSURL
$cmin :: JSURL -> JSURL -> JSURL
max :: JSURL -> JSURL -> JSURL
$cmax :: JSURL -> JSURL -> JSURL
>= :: JSURL -> JSURL -> Bool
$c>= :: JSURL -> JSURL -> Bool
> :: JSURL -> JSURL -> Bool
$c> :: JSURL -> JSURL -> Bool
<= :: JSURL -> JSURL -> Bool
$c<= :: JSURL -> JSURL -> Bool
< :: JSURL -> JSURL -> Bool
$c< :: JSURL -> JSURL -> Bool
compare :: JSURL -> JSURL -> Ordering
$ccompare :: JSURL -> JSURL -> Ordering
$cp1Ord :: Eq JSURL
Ord, Typeable JSURL
DataType
Constr
Typeable JSURL
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> JSURL -> c JSURL)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c JSURL)
-> (JSURL -> Constr)
-> (JSURL -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c JSURL))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JSURL))
-> ((forall b. Data b => b -> b) -> JSURL -> JSURL)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JSURL -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JSURL -> r)
-> (forall u. (forall d. Data d => d -> u) -> JSURL -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> JSURL -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> JSURL -> m JSURL)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> JSURL -> m JSURL)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> JSURL -> m JSURL)
-> Data JSURL
JSURL -> DataType
JSURL -> Constr
(forall b. Data b => b -> b) -> JSURL -> JSURL
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> JSURL -> c JSURL
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c JSURL
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> JSURL -> u
forall u. (forall d. Data d => d -> u) -> JSURL -> [u]
forall r r'.
(r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JSURL -> r
forall r r'.
(r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JSURL -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> JSURL -> m JSURL
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> JSURL -> m JSURL
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c JSURL
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> JSURL -> c JSURL
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c JSURL)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JSURL)
$cClckwrksApp :: Constr
$tJSURL :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> JSURL -> m JSURL
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> JSURL -> m JSURL
gmapMp :: (forall d. Data d => d -> m d) -> JSURL -> m JSURL
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> JSURL -> m JSURL
gmapM :: (forall d. Data d => d -> m d) -> JSURL -> m JSURL
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> JSURL -> m JSURL
gmapQi :: Int -> (forall d. Data d => d -> u) -> JSURL -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> JSURL -> u
gmapQ :: (forall d. Data d => d -> u) -> JSURL -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> JSURL -> [u]
gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JSURL -> r
$cgmapQr :: forall r r'.
(r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JSURL -> r
gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JSURL -> r
$cgmapQl :: forall r r'.
(r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JSURL -> r
gmapT :: (forall b. Data b => b -> b) -> JSURL -> JSURL
$cgmapT :: (forall b. Data b => b -> b) -> JSURL -> JSURL
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JSURL)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JSURL)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c JSURL)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c JSURL)
dataTypeOf :: JSURL -> DataType
$cdataTypeOf :: JSURL -> DataType
toConstr :: JSURL -> Constr
$ctoConstr :: JSURL -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c JSURL
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c JSURL
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> JSURL -> c JSURL
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> JSURL -> c JSURL
$cp1Data :: Typeable JSURL
Data, Typeable, (forall x. JSURL -> Rep JSURL x)
-> (forall x. Rep JSURL x -> JSURL) -> Generic JSURL
forall x. Rep JSURL x -> JSURL
forall x. JSURL -> Rep JSURL x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep JSURL x -> JSURL
$cfrom :: forall x. JSURL -> Rep JSURL x
Generic, ReadPrec [JSURL]
ReadPrec JSURL
Int -> ReadS JSURL
ReadS [JSURL]
(Int -> ReadS JSURL)
-> ReadS [JSURL]
-> ReadPrec JSURL
-> ReadPrec [JSURL]
-> Read JSURL
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [JSURL]
$creadListPrec :: ReadPrec [JSURL]
readPrec :: ReadPrec JSURL
$creadPrec :: ReadPrec JSURL
readList :: ReadS [JSURL]
$creadList :: ReadS [JSURL]
readsPrec :: Int -> ReadS JSURL
$creadsPrec :: Int -> ReadS JSURL
Read, Int -> JSURL -> ShowS
[JSURL] -> ShowS
JSURL -> String
(Int -> JSURL -> ShowS)
-> (JSURL -> String) -> ([JSURL] -> ShowS) -> Show JSURL
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [JSURL] -> ShowS
$cshowList :: [JSURL] -> ShowS
show :: JSURL -> String
$cshow :: JSURL -> String
showsPrec :: Int -> JSURL -> ShowS
$cshowsPrec :: Int -> JSURL -> ShowS
Show)

derivePathInfo ''JSURL