symantic-base-0.0.2.20200708: Basic symantics for writing Embedded Domain-Specific Languages (EDSL).

Safe HaskellNone
LanguageHaskell2010

Symantic.Base.Routable

Contents

Synopsis

Class Routable

class Routable repr where Source #

Minimal complete definition

Nothing

Methods

(<!>) :: Transformable repr => Routable (UnTrans repr) => repr a k -> repr b k -> repr (a :!: b) k infixr 3 Source #

(<!>) :: repr a k -> repr b k -> repr (a :!: b) k infixr 3 Source #

Type (:!:)

data a :!: b infixr 3 Source #

Like (,) but infixr.

Constructors

a :!: b infixr 3 
Instances
(Eq a, Eq b) => Eq (a :!: b) Source # 
Instance details

Defined in Symantic.Base.Routable

Methods

(==) :: (a :!: b) -> (a :!: b) -> Bool #

(/=) :: (a :!: b) -> (a :!: b) -> Bool #

(Show a, Show b) => Show (a :!: b) Source # 
Instance details

Defined in Symantic.Base.Routable

Methods

showsPrec :: Int -> (a :!: b) -> ShowS #

show :: (a :!: b) -> String #

showList :: [a :!: b] -> ShowS #