mirror of
https://github.com/Jaxan/ons-hs.git
synced 2025-06-06 06:57:45 +02:00
Update README.md
This commit is contained in:
parent
32d98267d1
commit
fa2ee892f9
1 changed files with 2 additions and 2 deletions
|
@ -75,14 +75,14 @@ For example, for the most sensible instance, use this:
|
||||||
```Haskell
|
```Haskell
|
||||||
data StateSpace = Store [Atom] | Check [Atom] | Accept | Reject
|
data StateSpace = Store [Atom] | Check [Atom] | Accept | Reject
|
||||||
deriving (Eq, Ord, GHC.Generic)
|
deriving (Eq, Ord, GHC.Generic)
|
||||||
deriving Nominal via Generic DoubleWord
|
deriving Nominal via Generic StateSpace
|
||||||
```
|
```
|
||||||
|
|
||||||
If, however, you want a trivial group action on your data structure. (This is
|
If, however, you want a trivial group action on your data structure. (This is
|
||||||
used for the data structure for equivariant sets.) Then you can use this:
|
used for the data structure for equivariant sets.) Then you can use this:
|
||||||
|
|
||||||
```Haskell
|
```Haskell
|
||||||
newtype EquivariantSet a = EqSet { unEqSet :: Set (Orbit a) }
|
newtype EquivariantSet a = ...
|
||||||
deriving Nominal via Trivial (EquivariantSet a)
|
deriving Nominal via Trivial (EquivariantSet a)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue