glance/app/Constants.hs
2019-04-02 01:49:48 -07:00

14 lines
269 B
Haskell

{-# LANGUAGE PatternSynonyms #-}
module Constants
( pattern InputPortConst
, pattern ResultPortConst
) where
import Types(Port(..))
pattern InputPortConst :: Port
pattern InputPortConst = Port 0
pattern ResultPortConst :: Port
pattern ResultPortConst = Port 1