Copyright | (c) Jorge Santiago Alvarez Cuadros 2016 |
---|---|
License | GPL-3 |
Maintainer | sanjorgek@ciencias.unam.mx |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Simple Label-State function, have an isomorphism with Maybe but order are diferent
Data and type
Machine states are only a label, maybe a letter
Monad Label Source # | Same as Maybe |
Functor Label Source # | Same as Maybe |
Applicative Label Source # | Same as Maybe |
Foldable Label Source # | |
Bounded a => Bounded (Label a) Source # | In this differ with Maybe because this show a upper bounded order |
Enum a => Enum (Label a) Source # | Holds
|
Eq a => Eq (Label a) Source # | |
Ord a => Ord (Label a) Source # | |
Show a => Show (Label a) Source # | |
Monoid a => Monoid (Label a) Source # | |
type Final a = Set (Label a) Source #
Final label state represent a set of states which elements put end to computation